diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-13 19:40:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-13 19:40:51 +0000 |
commit | bd694a5794c94d48e1039ee54f7b6a2ed26c735f (patch) | |
tree | 092682951ecebe8beed97e3962ab01f6e431c6f2 /textproc/ruby-rdtool | |
parent | d6d382c1ca033c79c01e79446c5a23f2b8d02bb2 (diff) | |
download | pkgsrc-bd694a5794c94d48e1039ee54f7b6a2ed26c735f.tar.gz |
Support user-destdir installation.
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 9ec27ed9c92..3abbad3be3d 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2006/09/08 02:38:08 taca Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/13 19:40:51 jlam Exp $ DISTNAME= rdtool-0.6.20 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -9,6 +9,8 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://trac.moonwolf.com/rdtool/wiki/ COMMENT= RD (Ruby Document) converter to HTML/man/etc +PKG_DESTDIR_SUPPORT= user-destdir + # Since rd2 commands depends its name and it can't rename, we cannot # install multiple ruby??-rd2 package (unless supported by pkgview. CONFLICTS+= ruby[1-9][0-9]-rdtool-* @@ -38,14 +40,14 @@ post-build: post-install: ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc \ - ${RUBY_SITELIBDIR}/rd/dot.rd2rc - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rd + ${DESTDIR}${RUBY_SITELIBDIR}/rd/dot.rd2rc + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/rd .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rd + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/rd .endfor - ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rd + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/rd ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc \ - ${RUBY_EXAMPLESDIR}/rd/dot.rd2rc + ${DESTDIR}${RUBY_EXAMPLESDIR}/rd/dot.rd2rc .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" |