[61805] trunk/dports/science/swarp/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Dec 21 10:13:04 PST 2009
Revision: 61805
http://trac.macports.org/changeset/61805
Author: ryandesign at macports.org
Date: 2009-12-21 10:13:03 -0800 (Mon, 21 Dec 2009)
Log Message:
-----------
swarp: simplify destroot, don't install docs to a versioned directory, don't install INSTALL file
Modified Paths:
--------------
trunk/dports/science/swarp/Portfile
Modified: trunk/dports/science/swarp/Portfile
===================================================================
--- trunk/dports/science/swarp/Portfile 2009-12-21 18:09:05 UTC (rev 61804)
+++ trunk/dports/science/swarp/Portfile 2009-12-21 18:13:03 UTC (rev 61805)
@@ -5,6 +5,7 @@
name swarp
version 2.17.6
+revision 1
categories science
platforms darwin
maintainers saao.ac.za:tim
@@ -21,12 +22,19 @@
rmd160 2358756922918b49cc52367eac9e316f3598615c
post-destroot {
- set docdir ${destroot}${prefix}/share/doc/${name}-${version}
- xinstall -m 755 -d ${docdir}
- eval xinstall -m 644 ${worksrcpath}/README ${worksrcpath}/AUTHORS \
- ${worksrcpath}/COPYRIGHT ${worksrcpath}/ChangeLog ${worksrcpath}/BUGS \
- ${worksrcpath}/HISTORY ${worksrcpath}/INSTALL ${worksrcpath}/THANKS \
- ${worksrcpath}/TODO [glob ${worksrcpath}/doc/*] ${docdir}
+ set docdir ${destroot}${prefix}/share/doc
+ xinstall -d ${docdir}
+ copy ${worksrcpath}/doc ${docdir}/${name}
+ xinstall -m 644 -W ${worksrcpath} \
+ README \
+ AUTHORS \
+ COPYRIGHT \
+ ChangeLog \
+ BUGS \
+ HISTORY \
+ THANKS \
+ TODO \
+ ${docdir}/${name}
}
livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091221/fbfa0d24/attachment-0001.html>
More information about the macports-changes
mailing list