diff options
author | obache <obache@pkgsrc.org> | 2008-02-08 15:13:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-02-08 15:13:54 +0000 |
commit | 1685eae34d659128d3085d80e9cfeb989266fdd4 (patch) | |
tree | d1a58f3d67a15be05bd43ca52290771e109d7645 /databases/ruby-sqlite3 | |
parent | 5f5c6b51be65892593112eefa6d131f90548f883 (diff) | |
download | pkgsrc-1685eae34d659128d3085d80e9cfeb989266fdd4.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'databases/ruby-sqlite3')
-rw-r--r-- | databases/ruby-sqlite3/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/ruby-sqlite3/Makefile b/databases/ruby-sqlite3/Makefile index 6335169c349..5e2fbf930cb 100644 --- a/databases/ruby-sqlite3/Makefile +++ b/databases/ruby-sqlite3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/04/01 09:10:34 obache Exp $ +# $NetBSD: Makefile,v 1.5 2008/02/08 15:13:54 obache Exp $ DISTNAME= sqlite3-ruby-1.2.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//} @@ -10,6 +10,8 @@ MAINTAINER= obache@NetBSD.org HOMEPAGE= http://sqlite-ruby.rubyforge.org/ COMMENT= Ruby interface for the SQLite database engine +PKG_DESTDIR_SUPPORT= user-destdir + RUBY_HAS_ARCHLIB= yes USE_RUBY_SETUP= yes @@ -19,11 +21,11 @@ DOCS= ChangeLog LICENSE README .include "../../lang/ruby/modules.mk" post-install: - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR:Q}/sqlite3/api + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/api .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${RUBY_DOCDIR:Q}/sqlite3/ + ${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/ .endfor - cd ${WRKSRC:Q}/doc && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3 - cd ${WRKSRC:Q}/api && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3/api + cd ${WRKSRC:Q}/doc && ${PAX} -rw -pp * ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3 + cd ${WRKSRC:Q}/api && ${PAX} -rw -pp * ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/api .include "../../mk/bsd.pkg.mk" |