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

ryandesign at macports.org ryandesign at macports.org
Mon Nov 10 02:35:40 PST 2008


Revision: 41785
          http://trac.macports.org/changeset/41785
Author:   ryandesign at macports.org
Date:     2008-11-10 02:35:39 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
render: Obsoleted by xorg-renderproto. Make it install (almost) no files, and output a message telling the user they can uninstall this port. Closes #13493.

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

Modified: trunk/dports/x11/render/Portfile
===================================================================
--- trunk/dports/x11/render/Portfile	2008-11-10 10:21:53 UTC (rev 41784)
+++ trunk/dports/x11/render/Portfile	2008-11-10 10:35:39 UTC (rev 41785)
@@ -3,40 +3,32 @@
 PortSystem          1.0
 
 name                render
-set my_name         renderext
-version             0.9
-revision            1
+version             0.9.2
 categories          x11
 platforms           darwin
 maintainers         nomaintainer
-description         X Render Extension headers and documentation
+description         Obsolete port\; replaced by xorg-renderproto
 
-long_description    ${description}
+long_description    The render port is obsolete and has been replaced with \
+                    xorg-renderproto. After xorg-renderproto is installed, \
+                    you can uninstall the render port.
 
-homepage            http://fontconfig.org/
-master_sites        http://xlibs.freedesktop.org/release/
-distname            ${my_name}-${version}
-use_bzip2           yes
+homepage            http://www.x.org/
+master_sites
 
-checksums           md5 d43c2afc69937655d13c02588c9ff974 \
-                    sha1 bb493bc803d64125f58357b345b233950d8b9f4b \
-                    rmd160 8850677c5657d7475b346b1fd6e76be61e3c8198
+fetch {}
+checksum {}
+extract {}
+use_configure       no
+build {}
+destroot	{
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+}
+archive {}
 
-# 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}
+post-activate {
+    ui_msg ${long_description}
 }
 
-universal_variant   no
-
-livecheck.check regex
-livecheck.url   ${master_sites}?C=M&O=D
-livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-
+livecheck.check     none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081110/e9e9ba01/attachment.html>


More information about the macports-changes mailing list