[79059] trunk/dports/graphics/xpdf/Portfile

ricci at macports.org ricci at macports.org
Tue May 31 08:58:46 PDT 2011


Revision: 79059
          http://trac.macports.org/changeset/79059
Author:   ricci at macports.org
Date:     2011-05-31 08:58:45 -0700 (Tue, 31 May 2011)
Log Message:
-----------
graphics/xpdf:
	move t1lib support to a variant to resolve #29629
	Indicate that xpdf 3.02pl5_1 w/o t1lib is xpdf 3.02pl6
	Adjust notes for spacing and indicate that language support packages are also available in MacPorts.

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

Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile	2011-05-31 15:12:31 UTC (rev 79058)
+++ trunk/dports/graphics/xpdf/Portfile	2011-05-31 15:58:45 UTC (rev 79059)
@@ -5,6 +5,7 @@
 name         xpdf
 set base_version    3.02
 version      ${base_version}pl5
+revision     1
 description  Xpdf is a viewer for PDF files.
 long_description \
     Xpdf is a viewer for Portable Document Format \
@@ -60,7 +61,7 @@
 
 depends_lib \
 	port:xorg-libXp port:xpm port:xorg-libXt port:freetype \
-	port:libpaper lib:libXm:openmotif port:t1lib
+	port:libpaper lib:libXm:openmotif
 
 depends_run  path:share/ghostscript/fonts:ghostscript
 
@@ -89,8 +90,6 @@
     --with-Xt-includes=${prefix}/include \
     --with-Xm-library=${prefix}/lib \
     --with-Xm-includes=${prefix}/include \
-    --with-t1-library=${prefix}/lib \
-    --with-t1-includes=${prefix}/include \
     --with-libpaper-library=${prefix}/lib \
     --with-libpaper-includes=${prefix}/include \
     --with-freetype2-library=${prefix}/lib \
@@ -124,6 +123,13 @@
 	conflicts-append port:poppler
 }
 
+## make t1lib support a variant, see https://trac.macports.org/ticket/29629)
+variant t1lib description {Include t1lib support (moved to variant due to security issue)} {
+    depends_lib-append		port:t1lib
+    configure.args-append	--with-t1-library=${prefix}/lib \
+							--with-t1-includes=${prefix}/include \
+}
+
 post-destroot {
 	if {! [variant_isset no_mangle_names]} {
 		## rename the CLI tools to xpdf-${TOOL_NAME} to avoid conflicts with poppler
@@ -135,6 +141,8 @@
 }
 
 notes "
-Xpdf language support packages are also available at\
-http://www.foolabs.com/xpdf/download.html
+xpdf 3.02pl5 revision 1 (aka 'xpdf @3.02pl5_1') without +t1lib is xpdf 3.02pl6.
+Xpdf language support packages are also available at 
+	http://www.foolabs.com/xpdf/download.html
+and are available in MacPorts as xpdf-LANG_NAME.
 "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110531/910f27fa/attachment.html>


More information about the macports-changes mailing list