1 | # $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name pinfo |
---|
5 | version 0.6.9 |
---|
6 | categories textproc |
---|
7 | maintainers iaas.msu.ru:master |
---|
8 | description Pinfo - Ncurses based info documentation browser |
---|
9 | long_description \ |
---|
10 | Pinfo is a hypertext info file viewer \ |
---|
11 | with a user interface similar to lynx. \ |
---|
12 | It is based on curses/ncurses, \ |
---|
13 | and can handle info pages as well as man pages. \ |
---|
14 | It also features regexp searching and user-defined colors/keys. |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | homepage http://pinfo.alioth.debian.org/ |
---|
19 | master_sites http://alioth.debian.org/download.php/1502/ |
---|
20 | |
---|
21 | checksums md5 c3298d36537601753558b3e9240b00b7 |
---|
22 | |
---|
23 | pre-patch { |
---|
24 | reinplace "s#/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info#/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info:${prefix}/share/info#" "${worksrcpath}/src/datatypes.c" |
---|
25 | } |
---|
26 | |
---|
27 | if {${configure.compiler} == "clang"} { |
---|
28 | configure.compiler llvm-gcc-4.2 |
---|
29 | } |
---|
30 | |
---|
31 | configure.cflags-append -I${prefix}/include |
---|
32 | |
---|
33 | configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \ |
---|
34 | --with-ncurses --disable-nls |
---|