[27972] trunk/dports/archivers/dzip/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 16 15:28:59 PDT 2007


Revision: 27972
          http://trac.macosforge.org/projects/macports/changeset/27972
Author:   nox at macports.org
Date:     2007-08-16 15:28:59 -0700 (Thu, 16 Aug 2007)

Log Message:
-----------
dzip: Added documentation installation.

Modified Paths:
--------------
    trunk/dports/archivers/dzip/Portfile

Modified: trunk/dports/archivers/dzip/Portfile
===================================================================
--- trunk/dports/archivers/dzip/Portfile	2007-08-16 22:13:37 UTC (rev 27971)
+++ trunk/dports/archivers/dzip/Portfile	2007-08-16 22:28:59 UTC (rev 27972)
@@ -36,7 +36,13 @@
 build.args		-f Makefile.linux
 
 destroot {
-	xinstall -m 0755 ${worksrcpath}/dzip ${destroot}${prefix}/bin
+	cd ${worksrcpath}
+
+	xinstall -m 0755 ${destroot}${prefix}/bin
+
+	set docdir ${prefix}/share/doc/${name}-${version}
+	xinstall -d ${destroot}${docdir}
+	xinstall -m 0644 Readme ${destroot}${docdir}
 }
 
 variant universal {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070816/6dfa0e2a/attachment.html


More information about the macports-changes mailing list