aboutsummaryrefslogtreecommitdiff
path: root/japanese/ruby-uconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ruby-uconv/Makefile')
-rw-r--r--japanese/ruby-uconv/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile
index 451990937b84..c9a9cf73b538 100644
--- a/japanese/ruby-uconv/Makefile
+++ b/japanese/ruby-uconv/Makefile
@@ -11,7 +11,6 @@ CATEGORIES= japanese converters ruby
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.bekkoame.ne.jp/~yoshidam/
MASTER_SITE_SUBDIR= knu
-PKGNAMEPREFIX= ruby-
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -31,6 +30,10 @@ RUBY_ARCH= ${ARCH}-freebsd${OSREL}
EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml \
trilang.xml unicode2euc.rb xmlconv.rb
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby-
+
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
@@ -46,4 +49,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/share/doc/ruby/uconv/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>