Ignore:
Timestamp:
Mar 16, 2007, 8:20:39 PM (13 years ago)
Author:
yves@…
Message:

bump to 3.02 and add a variant to fix ticket:10705

Location:
trunk/dports/graphics/xpdf
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/xpdf/Portfile

    r21436 r22853  
    22PortSystem 1.0
    33name         xpdf
    4 version      3.01
    5 revision     5
     4version      3.02
    65description  Xpdf is a viewer for PDF files.
    76long_description \
     
    2827    ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
    2928    http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
    30     ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
    31     kde:security_patches/:kdesec
    32 distfiles    ${distname}${extract.suffix} \
    33              post-3.5.5-kdegraphics-CVE-2007-0104.diff:kdesec
    34 checksums    ${distname}${extract.suffix} md5 e004c69c7dddef165d768b1362b44268 \
    35              post-3.5.5-kdegraphics-CVE-2007-0104.diff md5 a690ce46117257609c2b43485ea4d0d7
     29    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
     30
     31checksums    md5 599dc4cc65a07ee868cf92a667a913d2
    3632
    3733depends_lib      lib:libX11.6:XFree86 lib:libfreetype.6:freetype \
     
    3935depends_run  path:${prefix}/share/ghostscript/fonts:ghostscript
    4036
    41 patchfiles      xpdf-3.01pl2.patch
    42 patch.pre_args  -p1
    4337post-patch {
    4438    cd ${worksrcpath}
    4539    reinplace "s|/usr/local|${prefix}|g" \
    4640        doc/sample-xpdfrc xpdf/GlobalParams.cc
    47     system "patch -p2 < ${distpath}/post-3.5.5-kdegraphics-CVE-2007-0104.diff"
    4841}
    4942
     
    7669}
    7770
     71variant with_poppler {
     72        depends_run-append port:poppler
     73        post-destroot {
     74                cd ${destroot}${prefix}
     75                foreach i { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } {
     76                        file delete bin/$i
     77                        file delete share/man/man1/$i.1
     78                }
     79        }
     80}
     81
    7882platform puredarwin {
    7983    depends_lib-delete port:openmotif
Note: See TracChangeset for help on using the changeset viewer.