[31801] trunk/dports/textproc/txt2tags/Portfile
milosh at macports.org
milosh at macports.org
Fri Dec 7 14:14:52 PST 2007
Revision: 31801
http://trac.macosforge.org/projects/macports/changeset/31801
Author: milosh at macports.org
Date: 2007-12-07 14:14:38 -0800 (Fri, 07 Dec 2007)
Log Message:
-----------
Tidy the installed files of txt2tags
Modified Paths:
--------------
trunk/dports/textproc/txt2tags/Portfile
Modified: trunk/dports/textproc/txt2tags/Portfile
===================================================================
--- trunk/dports/textproc/txt2tags/Portfile 2007-12-07 21:58:50 UTC (rev 31800)
+++ trunk/dports/textproc/txt2tags/Portfile 2007-12-07 22:14:38 UTC (rev 31801)
@@ -1,4 +1,4 @@
-# $Id:$
+# $Id$
PortSystem 1.0
@@ -29,8 +29,13 @@
destroot {
xinstall -d ${destroot}${prefix}/share/doc/txt2tags
xinstall ${worksrcpath}/txt2tags ${destroot}${prefix}/bin/
- copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/txt2tags/
- copy ${worksrcpath}/extras ${destroot}${prefix}/share/doc/txt2tags/
- copy ${worksrcpath}/samples ${destroot}${prefix}/share/doc/txt2tags/
+ fs-traverse file ${worksrcpath}/doc/ {
+ if {[file isfile ${file}]} {
+ copy ${file} ${destroot}${prefix}/share/doc/txt2tags/
+ }
+ }
+ xinstall -d ${destroot}${prefix}/share/txt2tags/
+ copy ${worksrcpath}/extras ${destroot}${prefix}/share/txt2tags/
+ copy ${worksrcpath}/samples ${destroot}${prefix}/share/txt2tags/
xinstall -m 0644 ${worksrcpath}/txt2tags.1 ${destroot}${prefix}/share/man/man1/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071207/338f1a89/attachment.html
More information about the macports-changes
mailing list