diff options
-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" |