diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/rubyforge | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/rubyforge')
-rw-r--r-- | devel/rubyforge/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/devel/rubyforge/Makefile b/devel/rubyforge/Makefile index b0c2b764770..406fb11e142 100644 --- a/devel/rubyforge/Makefile +++ b/devel/rubyforge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/11 03:13:11 minskim Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:37 jlam Exp $ DISTNAME= rubyforge-0.4.2 CATEGORIES= devel ruby @@ -9,6 +9,8 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://rubyforge.org/projects/codeforpeople/ COMMENT= Simplistic script automating RubyForge operations +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes USE_LANGUAGES= # none REPLACE_RUBY= bin/rubyforge @@ -18,13 +20,16 @@ INSTALLATION_DIRS= bin .include "../../lang/ruby/modules.mk" do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/rubyforge ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/http-access2 + ${INSTALL_SCRIPT} ${WRKSRC}/bin/rubyforge ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_SITELIBDIR}/http-access2 ${INSTALL_DATA} ${WRKSRC}/lib/http-access2/* \ - ${RUBY_SITELIBDIR}/http-access2 - ${INSTALL_DATA} ${WRKSRC}/lib/http-access2.rb ${RUBY_SITELIBDIR} - ${INSTALL_DATA} ${WRKSRC}/lib/rubyforge.rb ${RUBY_SITELIBDIR} - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rubyforge - ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/rubyforge + ${DESTDIR}${RUBY_SITELIBDIR}/http-access2 + ${INSTALL_DATA} ${WRKSRC}/lib/http-access2.rb \ + ${DESTDIR}${RUBY_SITELIBDIR} + ${INSTALL_DATA} ${WRKSRC}/lib/rubyforge.rb \ + ${DESTDIR}${RUBY_SITELIBDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/rubyforge + ${INSTALL_DATA} ${WRKSRC}/README.txt \ + ${DESTDIR}${RUBY_DOCDIR}/rubyforge .include "../../mk/bsd.pkg.mk" |