Ticket #35549: pinfo-0.6.10.diff
File pinfo-0.6.10.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name pinfo 5 version 0.6.95 version 0.6.10 6 6 categories textproc 7 7 maintainers iaas.msu.ru:master 8 8 description Pinfo - Ncurses based info documentation browser … … 16 16 platforms darwin 17 17 18 18 homepage http://pinfo.alioth.debian.org/ 19 master_sites http://alioth.debian.org/download.php/1502/ 19 master_sites http://alioth.debian.org/frs/download.php/3351 20 use_bzip2 yes 20 21 21 checksums md5 c3298d36537601753558b3e9240b00b7 22 checksums rmd160 46d6990cda262f50ea4682d5ff94d4e15d91111a \ 23 sha256 122180a0c23d11bc9eb569a4de3ff97d3052af96e32466fa62f2daf46ff61c5d 22 24 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 } 25 depends_lib port:gettext \ 26 port:ncurses \ 27 port:readline 26 28 27 configure.cflags-append -I${prefix}/include 29 patchfiles patch-src-datatypes.c.diff 28 30 29 configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \ 30 --with-ncurses --disable-nls 31 post-patch { 32 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/datatypes.c 33 } 34 35 use_autoreconf yes 36 37 compiler.blacklist clang 38 39 livecheck.type regex 40 livecheck.url https://alioth.debian.org/frs/?group_id=30592 41 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}