aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ruby-eb/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-23 04:35:03 +0800
committerknu <knu@FreeBSD.org>2003-01-23 04:35:03 +0800
commite4316bf2a34494903052f162fa5f5987cf1dbac1 (patch)
treea4b6bfd6dd66a5a029fa6e2c622d5702fd9965a5 /japanese/ruby-eb/Makefile
parentaef1bbf862b8b15b09ec4b3c5adc91c74d979c52 (diff)
downloadfreebsd-ports-gnome-e4316bf2a34494903052f162fa5f5987cf1dbac1.tar.gz
freebsd-ports-gnome-e4316bf2a34494903052f162fa5f5987cf1dbac1.tar.zst
freebsd-ports-gnome-e4316bf2a34494903052f162fa5f5987cf1dbac1.zip
Update to 2.1.
Diffstat (limited to 'japanese/ruby-eb/Makefile')
-rw-r--r--japanese/ruby-eb/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/japanese/ruby-eb/Makefile b/japanese/ruby-eb/Makefile
index 5158cbdd8a0c..020502db911a 100644
--- a/japanese/ruby-eb/Makefile
+++ b/japanese/ruby-eb/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= eb
-PORTVERSION= 1.7
+PORTVERSION= 2.1
CATEGORIES= japanese ruby
-MASTER_SITES= http://www.threeweb.ad.jp/~nyasu/software/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ruby${PORTNAME}
DISTNAME= ruby-${PORTNAME}${PORTVERSION}
DIST_SUBDIR= ruby
@@ -22,6 +23,8 @@ USE_RUBY_EXTCONF= yes
NO_WRKSUBDIR= yes
INSTALL_TARGET= site-install
+EXAMPLES= hook2.rb test.rb
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
@@ -29,7 +32,9 @@ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/
- ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/ja/
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ja/
+.endfor
${MKDIR} ${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/eb.html ${RUBY_MODDOCDIR}/ja/
.endif