pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-amstd utilize USE_RUBY_SETUP; build and ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2ae3245d6e3
branches:  trunk
changeset: 460406:b2ae3245d6e3
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Aug 30 07:58:33 2003 +0000

description:
utilize USE_RUBY_SETUP; build and install stage simplified in Makefile,
no functional change in installed package.

diffstat:

 devel/ruby-amstd/Makefile |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (29 lines):

diff -r f72241cb1d77 -r b2ae3245d6e3 devel/ruby-amstd/Makefile
--- a/devel/ruby-amstd/Makefile Sat Aug 30 07:55:22 2003 +0000
+++ b/devel/ruby-amstd/Makefile Sat Aug 30 07:58:33 2003 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index