Changeset 96281


Ignore:
Timestamp:
Aug 7, 2012, 2:38:08 AM (7 years ago)
Author:
ryandesign@…
Message:

pinfo:

  • update to 0.6.10 (#35549)
  • license GPL-2
  • use bzip2 distfile
  • use autoreconf
  • blacklist clang on Xcode 4.4 and up (#35546)
  • add missing dependencies on ncurses and readline (#35547)
  • enable natural language support and add gettext dependency
  • use a patchfile instead of a pure reinplace
  • add patches from debian to fix typos in documentation, fix mishandling of files whose names begin with "dir", and ensure we don't close a file that hasn't been opened
  • add configure.args to specify the location of ncurses and readline so headers from the system version don't get used
  • fix livecheck
Location:
trunk/dports/textproc/pinfo
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/pinfo/Portfile

    r50984 r96281  
    33PortSystem 1.0
    44name            pinfo
    5 version         0.6.9
     5version             0.6.10
    66categories      textproc
    77maintainers     iaas.msu.ru:master
     8license             GPL-2
     9
    810description     Pinfo - Ncurses based info documentation browser
    911long_description \
     
    1719
    1820homepage        http://pinfo.alioth.debian.org/
    19 master_sites    http://alioth.debian.org/download.php/1502/
     21master_sites        http://alioth.debian.org/frs/download.php/3351
     22use_bzip2           yes
    2023
    21 checksums       md5 c3298d36537601753558b3e9240b00b7
     24checksums           rmd160  46d6990cda262f50ea4682d5ff94d4e15d91111a \
     25                    sha256  122180a0c23d11bc9eb569a4de3ff97d3052af96e32466fa62f2daf46ff61c5d
    2226
    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                 }
     27depends_lib         port:gettext \
     28                    port:ncurses \
     29                    port:readline
    2630
    27 configure.cflags-append -I${prefix}/include
     31patchfiles          patch-doc-pinfo.1.in.diff \
     32                    patch-doc-pinfo.texi.diff \
     33                    patch-src-datatypes.c.diff \
     34                    patch-src-filehandling_functions.c.diff
    2835
    29 configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
    30                 --with-ncurses --disable-nls
     36post-patch {
     37    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/datatypes.c
     38}
     39
     40use_autoreconf      yes
     41
     42configure.args      --with-curses=${prefix} \
     43                    --with-readline=${prefix}
     44
     45if {[vercmp ${xcodeversion} 4.4] >= 0} {
     46    compiler.blacklist  clang
     47}
     48
     49livecheck.type      regex
     50livecheck.url       https://alioth.debian.org/frs/?group_id=30592
     51livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracChangeset for help on using the changeset viewer.