summaryrefslogtreecommitdiff
path: root/devel/ruby-amstd
diff options
context:
space:
mode:
authortaca <taca>2003-08-30 07:58:33 +0000
committertaca <taca>2003-08-30 07:58:33 +0000
commit74bf222dc9130a3b53f3d928d60d02d2b969a211 (patch)
treee8e479db741c5dfb6e525df175fa0e801e9110d5 /devel/ruby-amstd
parent3b7c85a14fbbeeccf59ae0c351bdf0127197e977 (diff)
downloadpkgsrc-74bf222dc9130a3b53f3d928d60d02d2b969a211.tar.gz
utilize USE_RUBY_SETUP; build and install stage simplified in Makefile,
no functional change in installed package.
Diffstat (limited to 'devel/ruby-amstd')
-rw-r--r--devel/ruby-amstd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile
index 24d96044098..96daaaa72c8 100644
--- a/devel/ruby-amstd/Makefile
+++ b/devel/ruby-amstd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/08/30 05:54:26 taca Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/30 07:58:33 taca Exp $
# FreeBSD: ports/devel/ruby-amstd/Makefile,v 1.8 2000/12/06 15:38:58 knu Exp
DISTNAME= amstd-2.0.0
@@ -11,16 +11,12 @@ HOMEPAGE= http://www.loveruby.net/en/amstd.html
COMMENT= Collection of miscellaneous Ruby modules
DIST_SUBDIR= ruby
-USE_RUBY= yes
-NO_BUILD= # defined
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
DOCS= README.en README.ja manual.rd.ja
-do-configure:
- cd ${WRKSRC}; ${RUBY} install.rb config && ${RUBY} install.rb setup
-
-do-install:
- cd ${WRKSRC}; ${RUBY} install.rb install
+post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/amstd
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/amstd