diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-13 22:04:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-13 22:04:07 +0000 |
commit | 5ccfe84922ae755e406482a691170d4695edf391 (patch) | |
tree | ce442d8373a6ead3ba592735d3784085dcf457ae /x11/ruby-tk | |
parent | 5ed70723a16c9d248441ee0cedddf4df808bc46f (diff) | |
download | pkgsrc-5ccfe84922ae755e406482a691170d4695edf391.tar.gz |
Support user-destdir installation
Diffstat (limited to 'x11/ruby-tk')
-rw-r--r-- | x11/ruby-tk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile index 8ca695ef5c4..bea8b37b2dd 100644 --- a/x11/ruby-tk/Makefile +++ b/x11/ruby-tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2007/03/15 16:43:26 taca Exp $ +# $NetBSD: Makefile,v 1.29 2008/03/13 22:07:05 jlam Exp $ DISTNAME= ${RUBY_DISTNAME} PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION_SUFFIX} @@ -9,6 +9,8 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= ${RUBY_HOMEPAGE} COMMENT= Ruby interface to the Tk widget set +PKG_DESTDIR_SUPPORT= user-destdir + RUBY_HAS_ARCHLIB= yes USE_RUBY_EXTCONF= yes RUBY_EXTCONF_SUBDIRS= . tkutil @@ -27,8 +29,8 @@ pre-install: -name '*.orig_dist' \) -exec ${RM} -f {} \; post-install: - ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk - ${CP} -r ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/tk + ${CP} -r ${WRKSRC}/sample/* ${DESTDIR}${RUBY_EXAMPLESDIR}/tk .include "../../lang/ruby/modules.mk" .include "../../lang/ruby/Makefile.common" |