summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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