Ticket #11433: Portfile.diff

File Portfile.diff, 1.3 KB (added by gui-dos (Guido Soranzio), 17 years ago)
  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            pan2
    5 version         0.14.2
     5version         0.125
    66categories      news
    77maintainers     mij@macports.org
    88description     News reader for gtk2
     
    1212long_description Pan2 is a newsreader for GTK2/GNOME2 that is based on \
    1313                 the Agent newsreader for Windows OSes.
    1414
    15 master_sites    http://pan.rebelbase.com/download/releases/${version}/SOURCE/ \
    16                 http://pan.rebelbase.com/download/obsolete/${version}/SOURCE/
     15master_sites    http://pan.rebelbase.com/download/releases/${version}/source/
    1716
    1817
    1918distname        pan-${portversion}
    20 checksums       md5 ed3188e7059bb6d6c209ee5d46ac1852
     19checksums       md5 0d7d9b1228a13aabdcfc6e49173b8579
    2120
    2221use_bzip2       yes
    2322
    24 depends_lib     lib:libgtk.2:gtk2 lib:libxml2.2:libxml2 lib:libgnet.2:gnet2
    25 depends_build   path:${prefix}/include/gnuregex.h:gnuregex
    26 
    27 patchfiles      patch-Makefile.in patch-pan-filters-filter-phrase.h \
    28                 patch-pan-filters-score.c
    29 
    30 post-patch      { reinplace "s|DATADIRNAME=lib|DATADIRNAME=share|g" \
    31                     ${worksrcpath}/configure
    32                   reinplace "s|(libdir)/locale|(prefix)/share/locale|g" \
    33                     ${worksrcpath}/po/Makefile.in.in }
    34 
    35 configure.env   CPPFLAGS="-I${prefix}/include -no-cpp-precomp" \
    36                 LDFLAGS="-L${prefix}/lib -bind_at_load"
     23depends_lib     port:pcre port:gmime port:gtk2 port:gtkspell2