[37420] trunk/dports/www/serf/Portfile
blair at macports.org
blair at macports.org
Fri Jun 6 16:13:43 PDT 2008
Revision: 37420
http://trac.macosforge.org/projects/macports/changeset/37420
Author: blair at macports.org
Date: 2008-06-06 16:13:42 -0700 (Fri, 06 Jun 2008)
Log Message:
-----------
Include the CHANGES, LICENSE, NOTICE and README files in the serf Port.
Modified Paths:
--------------
trunk/dports/www/serf/Portfile
Modified: trunk/dports/www/serf/Portfile
===================================================================
--- trunk/dports/www/serf/Portfile 2008-06-06 23:10:52 UTC (rev 37419)
+++ trunk/dports/www/serf/Portfile 2008-06-06 23:13:42 UTC (rev 37420)
@@ -3,6 +3,7 @@
PortSystem 1.0
name serf
version 0.1.2
+revision 1
categories www
maintainers blair
description C-based HTTP client library
@@ -27,3 +28,14 @@
test.run yes
test.target check
+
+post-destroot {
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
+
+ xinstall -m 755 -d ${docdir}
+
+ foreach f {CHANGES LICENSE NOTICE README} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080606/d2037e7f/attachment.htm
More information about the macports-changes
mailing list