Revision: 96114 https://trac.macports.org/changeset/96114 Author: jmr@macports.org Date: 2012-08-01 02:08:31 -0700 (Wed, 01 Aug 2012) Log Message: ----------- rb-redcloth: fix shebang lines (#33520) Modified Paths: -------------- trunk/dports/ruby/rb-redcloth/Portfile Modified: trunk/dports/ruby/rb-redcloth/Portfile =================================================================== --- trunk/dports/ruby/rb-redcloth/Portfile 2012-08-01 08:50:02 UTC (rev 96113) +++ trunk/dports/ruby/rb-redcloth/Portfile 2012-08-01 09:08:31 UTC (rev 96114) @@ -4,6 +4,7 @@ PortGroup ruby 1.0 ruby.setup RedCloth 3.0.4 setup.rb {doc} rubyforge:6064 +revision 1 maintainers nomaintainer description Textile for Ruby long_description RedCloth is a module for using Textile in Ruby. \ @@ -15,6 +16,11 @@ checksums md5 6f076b94e783149adf96102c574a233c platforms darwin +post-patch { + reinplace "s|/usr/bin/ruby18|${prefix}/bin/ruby|" ${worksrcpath}/bin/redcloth + reinplace "s|/usr/bin/env ruby|${prefix}/bin/ruby|" ${worksrcpath}/run-tests.rb +} + test.run yes test.cmd ${ruby.bin} -I./lib test.target run-tests.rb
participants (1)
-
jmr@macports.org