aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-amstd/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-07 15:23:43 +0800
committerknu <knu@FreeBSD.org>2000-09-07 15:23:43 +0800
commit9770f1a3791f7fa3eb1b603ae606cfbdf8ad3366 (patch)
treec560e2f165d77beeafb3272d12cdaad524eac5a9 /devel/ruby-amstd/Makefile
parentc445f4c6847963711cc78c1f76d999f84099dbd6 (diff)
downloadfreebsd-ports-gnome-9770f1a3791f7fa3eb1b603ae606cfbdf8ad3366.tar.gz
freebsd-ports-gnome-9770f1a3791f7fa3eb1b603ae606cfbdf8ad3366.tar.zst
freebsd-ports-gnome-9770f1a3791f7fa3eb1b603ae606cfbdf8ad3366.zip
Update fundamental ruby ports first with bsd.ruby.mk.
Diffstat (limited to 'devel/ruby-amstd/Makefile')
-rw-r--r--devel/ruby-amstd/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile
index 7ae1114399f8..b60257189421 100644
--- a/devel/ruby-amstd/Makefile
+++ b/devel/ruby-amstd/Makefile
@@ -9,21 +9,15 @@ PORTNAME= amstd
PORTVERSION= 1.9.3
CATEGORIES= devel ruby
MASTER_SITES= http://www1.u-netsurf.ne.jp/~brew/mine/soft/
-PKGNAMEPREFIX= ruby-
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+USE_RUBY= yes
NO_BUILD= yes
-PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-
-RUBY?= ${LOCALBASE}/bin/ruby
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
-
DOCS_EN= README.en
DOCS_JA= README.ja
MODULES= bench.rb \
@@ -49,19 +43,21 @@ MODULES= bench.rb \
version.rb
do-install:
- ${MKDIR} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/amstd
+ ${MKDIR} ${RUBY_SITELIBDIR}/amstd
.for f in ${MODULES}
${INSTALL_DATA} ${WRKSRC}/lib/amstd/${f} \
- ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/amstd/
+ ${RUBY_SITELIBDIR}/amstd/
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ruby/amstd/ja
+ ${MKDIR} ${RUBY_DOCDIR}/amstd/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/amstd/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/amstd/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/amstd/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/amstd/ja/
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
+.include <bsd.port.post.mk>