[56328] trunk/dports/sysutils/chkrootkit/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 25 23:05:34 PDT 2009
Revision: 56328
http://trac.macports.org/changeset/56328
Author: ryandesign at macports.org
Date: 2009-08-25 23:05:32 -0700 (Tue, 25 Aug 2009)
Log Message:
-----------
chkrootkit: simplify destroot
Modified Paths:
--------------
trunk/dports/sysutils/chkrootkit/Portfile
Modified: trunk/dports/sysutils/chkrootkit/Portfile
===================================================================
--- trunk/dports/sysutils/chkrootkit/Portfile 2009-08-26 06:01:55 UTC (rev 56327)
+++ trunk/dports/sysutils/chkrootkit/Portfile 2009-08-26 06:05:32 UTC (rev 56328)
@@ -21,22 +21,27 @@
build.target sense all
build.args CC=${configure.cc}
-destroot {
- xinstall -m 755 -c ${worksrcpath}/check_wtmpx ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chkdirs ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chklastlog ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chkproc ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chkrootkit ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chkutmp ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/chkwtmp ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/ifpromisc ${destroot}${prefix}/bin
- xinstall -m 755 -c ${worksrcpath}/strings-static ${destroot}${prefix}/bin
-
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/chkrootkit
-
- xinstall -m 644 -c ${worksrcpath}/ACKNOWLEDGMENTS ${destroot}${prefix}/share/doc/chkrootkit
- xinstall -m 644 -c ${worksrcpath}/COPYRIGHT ${destroot}${prefix}/share/doc/chkrootkit
- xinstall -m 644 -c ${worksrcpath}/README ${destroot}${prefix}/share/doc/chkrootkit
- xinstall -m 644 -c ${worksrcpath}/README.chklastlog ${destroot}${prefix}/share/doc/chkrootkit
- xinstall -m 644 -c ${worksrcpath}/README.chkwtmp ${destroot}${prefix}/share/doc/chkrootkit
- }
+destroot {
+ xinstall -m 755 -W ${worksrcpath} \
+ check_wtmpx \
+ chkdirs \
+ chklastlog \
+ chkproc \
+ chkrootkit \
+ chkutmp \
+ chkwtmp \
+ ifpromisc \
+ strings-static \
+ ${destroot}${prefix}/bin
+
+ set docdir ${destroot}${prefix}/share/doc/chkrootkit
+ xinstall -m 755 -d ${docdir}
+
+ xinstall -m 644 -W ${worksrcpath} \
+ ACKNOWLEDGMENTS \
+ COPYRIGHT \
+ README \
+ README.chklastlog \
+ README.chkwtmp \
+ ${docdir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090825/b5e66523/attachment.html>
More information about the macports-changes
mailing list