diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/ruby-romkan | |
parent | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff) | |
download | pkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/ruby-romkan')
-rw-r--r-- | converters/ruby-romkan/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/converters/ruby-romkan/Makefile b/converters/ruby-romkan/Makefile index 5322e7b6431..26f5581571e 100644 --- a/converters/ruby-romkan/Makefile +++ b/converters/ruby-romkan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 20:52:12 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 05:51:08 jlam Exp $ DISTNAME= ruby-romkan-0.4 PKGNAME= ${RUBY_PKGPREFIX}-romkan-0.4 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://0xcc.net/ruby-romkan/ COMMENT= Romaji <-> Kana conversion library for Ruby +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes do-build: @@ -17,13 +19,13 @@ do-build: cd ${WRKSRC}; ${RUBY_RD} romkan.ja.rd > romkan.html.ja do-install: - ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR} - ${INSTALL_DATA} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR} - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/romkan - ${INSTALL_DATA} ${WRKSRC}/romkan.html ${RUBY_DOCDIR}/romkan - ${INSTALL_DATA} ${WRKSRC}/romkan.html.ja ${RUBY_DOCDIR}/romkan - ${INSTALL_DATA} ${WRKSRC}/romkan.en.rd ${RUBY_DOCDIR}/romkan/romkan.rd - ${INSTALL_DATA} ${WRKSRC}/romkan.ja.rd ${RUBY_DOCDIR}/romkan + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_SITELIBDIR} + ${INSTALL_DATA} ${WRKSRC}/romkan.rb ${DESTDIR}${RUBY_SITELIBDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.html ${DESTDIR}${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.html.ja ${DESTDIR}${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.en.rd ${DESTDIR}${RUBY_DOCDIR}/romkan/romkan.rd + ${INSTALL_DATA} ${WRKSRC}/romkan.ja.rd ${DESTDIR}${RUBY_DOCDIR}/romkan .include "../../lang/ruby/modules.mk" .include "../../textproc/ruby-rdtool/buildlink3.mk" |