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
commitbbce507f7d1bbed926772637fd0c95e837a966d7 (patch)
treee8e479db741c5dfb6e525df175fa0e801e9110d5 /devel
parentc02a2f3dd2460f0b89ff7cff155d5dcf82a4c2a6 (diff)
downloadpkgsrc-bbce507f7d1bbed926772637fd0c95e837a966d7.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