source: trunk/dports/textproc/pinfo/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            pinfo
5version             0.6.10
6revision            1
7set download_id     3351
8categories      textproc
9maintainers     iaas.msu.ru:master
10license             GPL-2
11
12description     Pinfo - Ncurses based info documentation browser
13long_description \
14                Pinfo is a hypertext info file viewer \
15                with a user interface similar to lynx. \
16                It is based on curses/ncurses, \
17                and can handle info pages as well as man pages. \
18                It also features regexp searching and user-defined colors/keys.
19
20platforms       darwin
21
22homepage        http://pinfo.alioth.debian.org/
23master_sites        https://alioth.debian.org/frs/download.php/file/${download_id}/
24use_bzip2           yes
25
26checksums           rmd160  46d6990cda262f50ea4682d5ff94d4e15d91111a \
27                    sha256  122180a0c23d11bc9eb569a4de3ff97d3052af96e32466fa62f2daf46ff61c5d
28
29depends_lib         port:gettext \
30                    port:ncurses \
31                    port:readline
32
33patchfiles          patch-doc-pinfo.1.in.diff \
34                    patch-doc-pinfo.texi.diff \
35                    patch-src-datatypes.c.diff \
36                    patch-src-filehandling_functions.c.diff
37
38post-patch {
39    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/datatypes.c
40}
41
42use_autoreconf      yes
43
44configure.args      --with-curses=${prefix} \
45                    --with-readline=${prefix}
46
47configure.cflags-append -std=gnu89
48
49livecheck.type      regex
50livecheck.url       https://alioth.debian.org/frs/?group_id=30592
51livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.