[40158] trunk/dports/lang/clojure/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 22 16:48:22 PDT 2008
Revision: 40158
http://trac.macports.org/changeset/40158
Author: ryandesign at macports.org
Date: 2008-09-22 16:48:22 -0700 (Mon, 22 Sep 2008)
Log Message:
-----------
clojure: simplify destroot using xinstall instead of file
Modified Paths:
--------------
trunk/dports/lang/clojure/Portfile
Modified: trunk/dports/lang/clojure/Portfile
===================================================================
--- trunk/dports/lang/clojure/Portfile 2008-09-22 23:43:40 UTC (rev 40157)
+++ trunk/dports/lang/clojure/Portfile 2008-09-22 23:48:22 UTC (rev 40158)
@@ -36,9 +36,7 @@
xinstall -m 0755 -d ${clojuredir}
xinstall -m 0755 -d ${clojuredir}/lib
xinstall -m 0755 -d ${clojuredir}/bin
- file copy ${workpath}/clojure.jar ${clojurejar}
- file attributes ${clojurejar} -permissions 0644
- file copy ${filespath}/clj.sh ${clojurebin}
- file attributes ${clojurebin} -permissions 0755
+ xinstall -m 0644 -W ${workpath} clojure.jar ${clojurejar}
+ xinstall -m 0755 -W ${filespath} clj.sh ${clojurebin}
ln -s ${prefix}/share/java/clojure/bin/clj ${bindir}/clj
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080922/8f1a4be1/attachment.html
More information about the macports-changes
mailing list