[29027] trunk/dports/x11/pango/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 13 04:06:15 PDT 2007


Revision: 29027
          http://trac.macosforge.org/projects/macports/changeset/29027
Author:   ryandesign at macports.org
Date:     2007-09-13 04:06:14 -0700 (Thu, 13 Sep 2007)

Log Message:
-----------
pango:

 * update to 1.18.1
 * add standard doc install
 * use "xinstall" instead of "system cp" in post-destroot
 * remove "--mandir" configure argument since it already knows where to put the manpages
 * remove manual installation of pangox.aliases which "make install" already knows to do

Thanks to nox. See ticket #12666.

Modified Paths:
--------------
    trunk/dports/x11/pango/Portfile

Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile	2007-09-13 10:11:31 UTC (rev 29026)
+++ trunk/dports/x11/pango/Portfile	2007-09-13 11:06:14 UTC (rev 29027)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    pango
-version                 1.16.5
+version                 1.18.1
 categories              x11
 maintainers             ryandesign
 homepage                http://www.pango.org/
@@ -20,9 +20,9 @@
 	of internationalized text.
 
 checksums \
-	md5 d8d7da2ab854f6e257ec06bf552a6114 \
-	sha1 a23899b16a95294dfa739825c81f3858787127e8 \
-	rmd160 98f38b2f8062e8f11e95a22824fa8c89664ffbb3
+	md5 282dcff56292359f6a5c75be0b4fe3df \
+	sha1 e3e86be65ca957c1a1a9bf14f2e12ba6b9c92f3d \
+	rmd160 046c653848d759b6c2304275bc62dd3169b4f48d
 
 depends_lib \
 	port:glib2 \
@@ -42,22 +42,23 @@
 	-bind_at_load
 
 configure.args \
-	--mandir=${prefix}/share/man \
 	--enable-cairo
 
 post-destroot {
-	system "install -o root -m 755 -d \
-		${destroot}${prefix}/etc/pango"
-	system "cp ${worksrcpath}/modules/pangorc \
-		${destroot}${prefix}/etc/pango"
-	system "cp ${worksrcpath}/pango/pangox.aliases \
-		${destroot}${prefix}/etc/pango" 
+	xinstall -m 0644 ${worksrcpath}/modules/pangorc \
+		${destroot}${prefix}/etc/pango
 	reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" \
-		${destroot}/${prefix}/etc/pango/pangorc
+		${destroot}${prefix}/etc/pango/pangorc
+	
 	system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \
 		${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.6.0/modules/*.so \
 		>${destroot}${prefix}/etc/pango/pango.modules"
 	reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules
+	
+	set docdir ${prefix}/share/doc/${name}-${version}
+	xinstall -d ${destroot}${docdir}
+	xinstall -m 0644 -W ${worksrcpath} AUTHORS ChangeLog COPYING MAINTAINERS NEWS README THANKS \
+		${destroot}${docdir}
 }
 
 test.run                yes

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


More information about the macports-changes mailing list