aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-26 00:51:15 +0800
committerknu <knu@FreeBSD.org>2001-03-26 00:51:15 +0800
commit50fd03d6196a10a6949db9c9146e16d59a5499b0 (patch)
tree5dadcf690780501f440cd393c0aa5ce9c6aa53a8
parentac8071f3d735c67018346287a5074f6b2fc0a476 (diff)
downloadfreebsd-ports-gnome-50fd03d6196a10a6949db9c9146e16d59a5499b0.tar.gz
freebsd-ports-gnome-50fd03d6196a10a6949db9c9146e16d59a5499b0.tar.zst
freebsd-ports-gnome-50fd03d6196a10a6949db9c9146e16d59a5499b0.zip
Fix a revisited bug in the installer.
Submitted by: asami & bento (not asami bento :)
-rw-r--r--devel/ruby-strscan/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ruby-strscan/Makefile b/devel/ruby-strscan/Makefile
index 519536b4c6bc..a7345d097cdd 100644
--- a/devel/ruby-strscan/Makefile
+++ b/devel/ruby-strscan/Makefile
@@ -7,6 +7,7 @@
PORTNAME= strscan
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.xdsl.ne.jp/Cd/aamine/soft/
@@ -27,6 +28,9 @@ DOCS_JA= README.ja \
doc.ja/changes.html doc.ja/index.html \
doc.ja/reference.html doc.ja/usage.html
+post-patch:
+ ${RUBY} -i -pe "gsub /'ARCH'/, %q/'arch'/" ${WRKSRC}/setup.rb
+
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/strscan/ja