[66249] trunk/dports/net/jlj/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 7 19:40:33 PDT 2010
Revision: 66249
http://trac.macports.org/changeset/66249
Author: ryandesign at macports.org
Date: 2010-04-07 19:40:32 -0700 (Wed, 07 Apr 2010)
Log Message:
-----------
jlj: simplify
Modified Paths:
--------------
trunk/dports/net/jlj/Portfile
Modified: trunk/dports/net/jlj/Portfile
===================================================================
--- trunk/dports/net/jlj/Portfile 2010-04-08 02:35:22 UTC (rev 66248)
+++ trunk/dports/net/jlj/Portfile 2010-04-08 02:40:32 UTC (rev 66249)
@@ -18,8 +18,7 @@
worksrcdir jlj
post-patch {
- reinplace "s|\/usr\/bin\/perl|${prefix}\/bin\/perl|" \
- "${workpath}/jlj/jlj.pl"
+ reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/jlj.pl
}
use_configure no
if {[info exists supported_archs]} {
@@ -27,12 +26,11 @@
}
build {}
destroot {
- xinstall -d -m 0755 ${destroot}${prefix}/bin
- xinstall -m 0755 ${workpath}/jlj/jlj.pl ${destroot}${prefix}/bin/jlj
- xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 ${workpath}/jlj/README.JLJ ${destroot}${prefix}/share/doc/${name}
- xinstall -d -m 0755 ${destroot}/${prefix}/share/examples/${name}
- xinstall -m 0644 ${workpath}/jlj/.livejournal.rc ${destroot}${prefix}/share/examples/${name}/livejournal.rc
+ xinstall ${worksrcpath}/jlj.pl ${destroot}${prefix}/bin/jlj
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/README.JLJ ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${destroot}/${prefix}/share/examples/${name}
+ xinstall -m 0644 ${worksrcpath}/.livejournal.rc ${destroot}${prefix}/share/examples/${name}/livejournal.rc
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100407/55a15724/attachment.html>
More information about the macports-changes
mailing list