[22853] trunk/dports/graphics/xpdf

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 16 13:20:40 PDT 2007


Revision: 22853
          http://trac.macosforge.org/projects/macports/changeset/22853
Author:   yves at macports.org
Date:     2007-03-16 13:20:39 -0700 (Fri, 16 Mar 2007)

Log Message:
-----------
bump to 3.02 and add a variant to fix ticket:10705

Modified Paths:
--------------
    trunk/dports/graphics/xpdf/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/xpdf/files/

Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile	2007-03-16 20:10:55 UTC (rev 22852)
+++ trunk/dports/graphics/xpdf/Portfile	2007-03-16 20:20:39 UTC (rev 22853)
@@ -1,8 +1,7 @@
 # $Id$
 PortSystem 1.0
 name         xpdf
-version      3.01
-revision     5
+version      3.02
 description  Xpdf is a viewer for PDF files.
 long_description \
     Xpdf is a viewer for Portable Document Format \
@@ -27,24 +26,18 @@
     ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
     ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
     http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
-    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
-    kde:security_patches/:kdesec
-distfiles    ${distname}${extract.suffix} \
-	     post-3.5.5-kdegraphics-CVE-2007-0104.diff:kdesec
-checksums    ${distname}${extract.suffix} md5 e004c69c7dddef165d768b1362b44268 \
-	     post-3.5.5-kdegraphics-CVE-2007-0104.diff md5 a690ce46117257609c2b43485ea4d0d7
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
 
+checksums    md5 599dc4cc65a07ee868cf92a667a913d2
+
 depends_lib	 lib:libX11.6:XFree86 lib:libfreetype.6:freetype \
 		     port:libpaper port:openmotif port:t1lib
 depends_run  path:${prefix}/share/ghostscript/fonts:ghostscript
 
-patchfiles      xpdf-3.01pl2.patch
-patch.pre_args  -p1
 post-patch {
     cd ${worksrcpath}
     reinplace "s|/usr/local|${prefix}|g" \
         doc/sample-xpdfrc xpdf/GlobalParams.cc
-    system "patch -p2 < ${distpath}/post-3.5.5-kdegraphics-CVE-2007-0104.diff"
 }
 
 configure.args	\
@@ -75,6 +68,17 @@
     configure.args-append --enable-a4-paper
 }
 
+variant with_poppler {
+	depends_run-append port:poppler
+	post-destroot {
+		cd ${destroot}${prefix}
+		foreach i { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } {
+			file delete bin/$i
+			file delete share/man/man1/$i.1
+		}
+	}
+}
+
 platform puredarwin {
     depends_lib-delete port:openmotif
     depends_lib-append port:lesstif
@@ -92,4 +96,4 @@
         Xpdf language support packages are also available at \
         http://www.foolabs.com/xpdf/download.html"
 }        
-        
\ No newline at end of file
+        

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070316/b15e54c5/attachment.html


More information about the macports-changes mailing list