Ticket #10711: Portfile

File Portfile, 996 bytes (added by master@…, 18 years ago)
Line 
1PortSystem 1.0
2name            pinfo
3version         0.6.9
4categories      textproc
5maintainers     master@iaas.msu.ru
6description     Pinfo - Ncurses based info documentation browser
7long_description \
8                Pinfo is a hypertext info file viewer \
9                with a user interface similar to lynx. \
10                It is based on curses/ncurses, \
11                and can handle info pages as well as man pages. \
12                It also features regexp searching and user-defined colors/keys.
13
14platforms       darwin
15
16homepage        http://pinfo.alioth.debian.org/
17master_sites    http://alioth.debian.org/download.php/1502/
18
19checksums       md5 c3298d36537601753558b3e9240b00b7
20
21pre-patch       {       
22                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"
23                }
24
25configure.env   CFLAGS="-I'${prefix}/include'" LDFLAGS="-L'${prefix}/lib'"
26
27configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
28                --with-ncurses --disable-nls