source: trunk/dports/news/pan2/Portfile @ 14190

Last change on this file since 14190 was 3661, checked in by mij, 17 years ago

Attempt to fix an issue with detecting dependencies.

Bug: 993
Submitted by: Jason Deraleau <darwin@…>
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.8 2003/10/12 15:43:43 mij Exp $
2
3PortSystem 1.0
4name            pan2
5version         0.14.2
6categories      news
7maintainers     mij@opendarwin.org
8description     News reader for gtk2
9homepage        http://pan.rebelbase.com/
10platforms       darwin
11
12long_description Pan2 is a newsreader for GTK2/GNOME2 that is based on \
13                 the Agent newsreader for Windows OSes.
14
15master_sites    http://pan.rebelbase.com/download/releases/${version}/SOURCE/ \
16                http://pan.rebelbase.com/download/obsolete/${version}/SOURCE/
17
18
19distname        pan-${portversion}
20checksums       md5 ed3188e7059bb6d6c209ee5d46ac1852
21
22use_bzip2       yes
23
24depends_lib     lib:libgtk.2:gtk2 lib:libxml2.2:libxml2 lib:libgnet.2:gnet2
25depends_build   path:${prefix}/include/gnuregex.h:gnuregex
26
27patchfiles      patch-Makefile.in patch-pan-filters-filter-phrase.h \
28                patch-pan-filters-score.c
29
30post-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
35configure.env   CPPFLAGS="-I${prefix}/include -no-cpp-precomp" \
36                LDFLAGS="-L${prefix}/lib -bind_at_load"
Note: See TracBrowser for help on using the repository browser.