aboutsummaryrefslogtreecommitdiff
path: root/japanese/ruby-kakasi
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-27 16:52:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-27 16:52:51 +0000
commit2e87c89fc5e16deb207adcbb0f7cbb1f27cfed05 (patch)
tree9b1e47232ef5d5948a1c3465db51086898b8c450 /japanese/ruby-kakasi
parentfc38456d467f7e1852bd07dde4c376f32be3eae8 (diff)
downloadports-2e87c89fc5e16deb207adcbb0f7cbb1f27cfed05.tar.gz
ports-2e87c89fc5e16deb207adcbb0f7cbb1f27cfed05.zip
Notes
Diffstat (limited to 'japanese/ruby-kakasi')
-rw-r--r--japanese/ruby-kakasi/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/ruby-kakasi/Makefile b/japanese/ruby-kakasi/Makefile
index 2d58cacc27cd..85b324f33d53 100644
--- a/japanese/ruby-kakasi/Makefile
+++ b/japanese/ruby-kakasi/Makefile
@@ -9,7 +9,6 @@ PORTNAME= kakasi
PORTVERSION= 000124
CATEGORIES= japanese ruby
MASTER_SITES= http://www.notwork.org/~gotoken/ruby/p/kakasi/
-PKGNAMEPREFIX= ruby-
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -30,6 +29,10 @@ RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
DOCS_EN= ChangeLog README wdcnt.html
DOCS_JA= README.jp
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby-
+
post-patch:
${PERL} -i -pe 's,/usr/local,${PREFIX},g' ${WRKSRC}/extconf.rb
${PERL} -i -pe 's,\./(kakasi),$$1,g' ${WRKSRC}/test.rb
@@ -52,4 +55,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>