summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-02 16:37:26 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-02 16:37:26 +0000
commitd76e495ceff5685028f294745c8cbc32275dbe81 (patch)
treea294c5272e2c68a33fad8853938d753255cb6956
parentUSE_REINPLACE instead of perl. (diff)
Of course ruby should be used here to do this instead of perl. :)
-rw-r--r--devel/ruby-property/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ruby-property/Makefile b/devel/ruby-property/Makefile
index f0a4ab282629..21b70af7f4cf 100644
--- a/devel/ruby-property/Makefile
+++ b/devel/ruby-property/Makefile
@@ -23,7 +23,7 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- ${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
+ ${RUBY} -i -pe 'gsub /rubyapi\.css/, "../rubyapi.css"' ${WRKSRC}/Properties-ja.html
do-install:
${INSTALL_DATA} ${WRKSRC}/property.rb ${RUBY_SITELIBDIR}