[61810] trunk/dports/science/weightwatcher/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Dec 21 10:21:52 PST 2009
Revision: 61810
http://trac.macports.org/changeset/61810
Author: ryandesign at macports.org
Date: 2009-12-21 10:21:51 -0800 (Mon, 21 Dec 2009)
Log Message:
-----------
weightwatcher: simplify destroot, don't install docs to a versioned directory, don't install INSTALL file
Modified Paths:
--------------
trunk/dports/science/weightwatcher/Portfile
Modified: trunk/dports/science/weightwatcher/Portfile
===================================================================
--- trunk/dports/science/weightwatcher/Portfile 2009-12-21 18:18:17 UTC (rev 61809)
+++ trunk/dports/science/weightwatcher/Portfile 2009-12-21 18:21:51 UTC (rev 61810)
@@ -5,6 +5,7 @@
name weightwatcher
version 1.8.10
+revision 1
categories science
platforms darwin
maintainers saao.ac.za:tim
@@ -22,12 +23,19 @@
rmd160 530b81d4b40354f85eb21bcd62b473457033ce4d
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/2322d0d8/attachment.html>
More information about the macports-changes
mailing list