Changeset 40158


Ignore:
Timestamp:
Sep 22, 2008, 11:48:22 PM (12 years ago)
Author:
ryandesign@…
Message:

clojure: simplify destroot using xinstall instead of file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/clojure/Portfile

    r40157 r40158  
    3737    xinstall -m 0755 -d ${clojuredir}/lib
    3838    xinstall -m 0755 -d ${clojuredir}/bin
    39     file copy ${workpath}/clojure.jar ${clojurejar}
    40     file attributes ${clojurejar} -permissions 0644
    41     file copy ${filespath}/clj.sh ${clojurebin}
    42     file attributes ${clojurebin} -permissions 0755
     39    xinstall -m 0644 -W ${workpath} clojure.jar ${clojurejar}
     40    xinstall -m 0755 -W ${filespath} clj.sh ${clojurebin}
    4341    ln -s ${prefix}/share/java/clojure/bin/clj ${bindir}/clj
    4442}
Note: See TracChangeset for help on using the changeset viewer.