[40508] trunk/dports/ruby/rb-password/Portfile
jmr at macports.org
jmr at macports.org
Sat Oct 4 14:29:11 PDT 2008
Revision: 40508
http://trac.macports.org/changeset/40508
Author: jmr at macports.org
Date: 2008-10-04 14:29:11 -0700 (Sat, 04 Oct 2008)
Log Message:
-----------
rb-password: remove use of cd
Modified Paths:
--------------
trunk/dports/ruby/rb-password/Portfile
Modified: trunk/dports/ruby/rb-password/Portfile
===================================================================
--- trunk/dports/ruby/rb-password/Portfile 2008-10-04 19:52:49 UTC (rev 40507)
+++ trunk/dports/ruby/rb-password/Portfile 2008-10-04 21:29:11 UTC (rev 40508)
@@ -25,10 +25,10 @@
patchfiles patch-tc_password.rb.diff
post-patch {
- cd ${worksrcpath}
- reinplace "s|^#!.*ruby|#!${ruby.bin}|" example/example.rb example/pwgen
- reinplace "s|/usr/local|${prefix}|g" extconf.rb
- reinplace "s|pw_dict|cracklib/&|g" extconf.rb
+ reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/example/example.rb \
+ ${worksrcpath}/example/pwgen
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/extconf.rb
+ reinplace "s|pw_dict|cracklib/&|g" ${worksrcpath}/extconf.rb
}
post-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081004/1799a9c3/attachment.html
More information about the macports-changes
mailing list