diff options
author | taca <taca@pkgsrc.org> | 2009-02-15 03:24:50 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-02-15 03:24:50 +0000 |
commit | d62b48ee8b1ad09e2187226d79e713e357dc1c6b (patch) | |
tree | de157f00eedd2c464ef50dccc7c83b17924741de | |
parent | 9f89df5d55d22b93cb1e0de79059a429977f7762 (diff) | |
download | pkgsrc-d62b48ee8b1ad09e2187226d79e713e357dc1c6b.tar.gz |
Enable DESTDIR support with devel/ruby-setup.
(No other functional change.)
-rw-r--r-- | devel/ruby-amstd/Makefile | 13 | ||||
-rw-r--r-- | net/ruby-icmp/Makefile | 8 |
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile index 78b3d816e4b..abc90ab7331 100644 --- a/devel/ruby-amstd/Makefile +++ b/devel/ruby-amstd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2008/06/19 14:46:37 taca Exp $ +# $NetBSD: Makefile,v 1.14 2009/02/15 03:24:50 taca Exp $ DISTNAME= amstd-2.0.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -10,14 +10,15 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://i.loveruby.net/en/projects/amstd/ COMMENT= Collection of miscellaneous Ruby modules -USE_RUBY_SETUP= yes -RUBY_SETUP= install.rb -CONFIGURE_ARGS= --site-ruby=${PREFIX}/${RUBY_VENDORLIB} \ - --so-dir=${PREFIX}/${RUBY_VENDORARCHLIB} +USE_RUBY_SETUP= YES +USE_RUBY_SETUP_PKG= YES +CONFIGURE_ARGS= --site-ruby=${PREFIX}/${RUBY_VENDORLIB} \ + --so-dir=${PREFIX}/${RUBY_VENDORARCHLIB} -DOCS= README.en README.ja manual.rd.ja +DOCS= README.en README.ja manual.rd.ja INSTALLATION_DIRS= ${RUBY_DOC}/amstd +PKG_DESTDIR_SUPPORT= user-destdir post-install: .for f in ${DOCS} diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile index 932c79a5f85..0027f7a664e 100644 --- a/net/ruby-icmp/Makefile +++ b/net/ruby-icmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/06/19 14:53:07 taca Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/15 03:27:01 taca Exp $ DISTNAME= icmp-0.2.2 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -10,11 +10,13 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= # not available COMMENT= Ruby module for handling ICMP packets -USE_RUBY_INSTALL= yes +USE_RUBY_SETUP= yes +USE_RUBY_SETUP_PKG= yes NO_BUILD= yes REPLACE_RUBY= sample/ping.rb sample/traceroute.rb EXAMPLES= sample/ping.rb sample/traceroute.rb -INSTALLATION_DIRS= ${RUBY_EG}/icmp +INSTALLATION_DIRS= ${RUBY_EG}/icmp ${RUBY_VENDORLIB} +PKG_DESTDIR_SUPPORT= user-destdir post-install: .for f in ${EXAMPLES} |