[65990] trunk/dports/graphics/glpng/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Apr 4 09:15:46 PDT 2010


Revision: 65990
          http://trac.macports.org/changeset/65990
Author:   ryandesign at macports.org
Date:     2010-04-04 09:15:43 -0700 (Sun, 04 Apr 2010)
Log Message:
-----------
glpng: also install documentation

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

Modified: trunk/dports/graphics/glpng/Portfile
===================================================================
--- trunk/dports/graphics/glpng/Portfile	2010-04-04 15:54:42 UTC (rev 65989)
+++ trunk/dports/graphics/glpng/Portfile	2010-04-04 16:15:43 UTC (rev 65990)
@@ -4,6 +4,7 @@
 
 name                        glpng
 version                     1.45
+revision                    1
 categories                  graphics
 platforms                   darwin
 maintainers                 ryandesign openmaintainer
@@ -54,5 +55,11 @@
 
 destroot.args               PREFIX=${prefix}
 
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 ${worksrcpath}/glpng.htm ${docdir}
+}
+
 # This software hasn't been updated since 2000
 livecheck.type              none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100404/3b65ad24/attachment.html>


More information about the macports-changes mailing list