summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2003-08-30 07:58:33 +0000
committertaca <taca@pkgsrc.org>2003-08-30 07:58:33 +0000
commit3f52448e2ebe9dffdb3e25d820bb00c0ce609c99 (patch)
treee8e479db741c5dfb6e525df175fa0e801e9110d5 /devel
parent77b4fee36a42163b43189603ea6572e9145c8c17 (diff)
downloadpkgsrc-3f52448e2ebe9dffdb3e25d820bb00c0ce609c99.tar.gz
utilize USE_RUBY_SETUP; build and install stage simplified in Makefile,
no functional change in installed package.
Diffstat (limited to 'devel')
-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