[28867] trunk/dports/x11/render/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 10 06:33:43 PDT 2007


Revision: 28867
          http://trac.macosforge.org/projects/macports/changeset/28867
Author:   nox at macports.org
Date:     2007-09-10 06:33:42 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
render:
 * Added standard doc install.
 * Changed doc directory name to a versioned one.
 * Added livecheck and sha1 and rmd160 checksums.
 * Disabled universal variant as this port merely install headers.

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

Modified: trunk/dports/x11/render/Portfile
===================================================================
--- trunk/dports/x11/render/Portfile	2007-09-10 13:19:20 UTC (rev 28866)
+++ trunk/dports/x11/render/Portfile	2007-09-10 13:33:42 UTC (rev 28867)
@@ -1,22 +1,41 @@
 # $Id$
 
 PortSystem			1.0
+
 name				render
 version				0.9
+revision            1
 categories			x11
-maintainers			nomaintainer at macports.org
+platforms			darwin
+maintainers			nomaintainer
 description			X Render Extension headers and documentation
+
 long_description	${description}
 
-platforms			darwin
-
 homepage			http://fontconfig.org/
 master_sites		http://xlibs.freedesktop.org/release/
 distname			renderext-${version}
 use_bzip2			yes
 
-checksums			md5 d43c2afc69937655d13c02588c9ff974
+checksums           md5 d43c2afc69937655d13c02588c9ff974 \
+                    sha1 bb493bc803d64125f58357b345b233950d8b9f4b \
+                    rmd160 8850677c5657d7475b346b1fd6e76be61e3c8198
 
 # Make sure pkg-config is in DP so render installs its .pc file
 depends_build		port:pkgconfig
 
+set docdir          ${prefix}/share/doc/${name}-${version}
+
+destroot.args       Renderdocdir=${docdir}
+
+post-destroot {
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
+        ${destroot}${docdir}
+}
+
+universal_variant no
+
+livecheck.check regex
+livecheck.url   ${master_sites}?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/20070910/d2d3f47f/attachment.html


More information about the macports-changes mailing list