[41535] trunk/dports/devel/t1lib/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Nov 5 11:37:48 PST 2008


Revision: 41535
          http://trac.macports.org/changeset/41535
Author:   mcalhoun at macports.org
Date:     2008-11-05 11:37:48 -0800 (Wed, 05 Nov 2008)
Log Message:
-----------
t1lib: add new master_site, fix lint warnings, add livecheck, and ensure that x11prefix is used.

Modified Paths:
--------------
    trunk/dports/devel/t1lib/Portfile

Modified: trunk/dports/devel/t1lib/Portfile
===================================================================
--- trunk/dports/devel/t1lib/Portfile	2008-11-05 19:00:31 UTC (rev 41534)
+++ trunk/dports/devel/t1lib/Portfile	2008-11-05 19:37:48 UTC (rev 41535)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem			1.0
+
 name				t1lib
 version				5.1.2
 categories			devel graphics fonts
@@ -14,9 +15,12 @@
 	donated by IBM to the X11-project. But some disadvantages of the \
 	rasterizer being included in X11 have been eliminated.
 
+homepage			ftp://metalab.unc.edu/pub/Linux/libs/graphics/
+
 platforms			darwin
 
-master_sites		http://ftp.surfnet.nl/pub/sunsite/libs/graphics/ \
+master_sites		ftp://sunsite.unc.edu/pub/Linux/libs/graphics/ \
+					http://ftp.surfnet.nl/pub/sunsite/libs/graphics/ \
 					sourceforge:gnuwin32
 
 checksums			md5 a5629b56b93134377718009df1435f3c \
@@ -29,13 +33,21 @@
 build.args			LIBTOOL=${prefix}/bin/glibtool
 build.target		without_doc
 
-variant x11 {
-	depends_lib-append		lib:libX11:XFree86
+variant x11 description {use the X Window System} {
+	depends_lib-append		lib:libX11:xorg
 	configure.args-delete	--without-x
-	configure.args-append	--with-x
+	configure.args-append	--with-x --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
 }
 
-variant psdoc {
+variant psdoc description {build and install the postscript documentation} {
 	depends_lib-append		bin:tex:texlive
 	build.target			all
 }
+
+post-destroot {
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/
+	move ${destroot}${prefix}/share/${name}/doc ${destroot}${prefix}/share/doc/${name}
+}
+
+livecheck.url    "http://sunsite.unc.edu/pub/Linux/libs/graphics/?C=M;O=D"
+livecheck.regex  ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081105/3d645bf6/attachment.html>


More information about the macports-changes mailing list