Ticket #14865: Portfile

File Portfile, 929 bytes (added by jwhowse4, 17 years ago)

Modified Portfile

Line 
1# $Id: Portfile 35535 2008-03-29 21:14:45Z gui_dos@macports.org $
2
3PortSystem 1.0
4
5name        poppler
6version     0.8.0
7maintainers nomaintainer
8categories  graphics
9platforms   darwin
10homepage    http://${name}.freedesktop.org/
11
12description     Poppler is a PDF rendering library based on the xpdf-3.0 code base.
13long_description \
14    ${description}
15
16master_sites    ${homepage}
17checksums       md5 1a3ea3000d3446a97366c37b876979f4
18depends_lib     port:cairo port:gtk2 port:poppler-data
19
20post-patch {
21    reinplace "s|-flat_namespace -undefined suppress||g" \
22        ${worksrcpath}/configure
23    reinplace "s|\$includedir|${prefix}/include|g" \
24        ${worksrcpath}/configure
25    reinplace "s|tests||" \
26        ${worksrcpath}/qt4/Makefile.in
27}
28
29configure.args  --enable-xpdf-headers --enable-zlib --disable-poppler-qt4 --mandir=${prefix}/share/man
30
31variant quartz {
32    configure.args-append --disable-gtk-test --without-x
33}
34