diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
commit | cc6162770e0a91d45866dd760690d21c6db27fee (patch) | |
tree | 41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/cstore | |
parent | e87e8011a9f70544994c762db2703e876ecdad08 (diff) | |
download | pkgsrc-cc6162770e0a91d45866dd760690d21c6db27fee.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'databases/cstore')
-rw-r--r-- | databases/cstore/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/databases/cstore/Makefile b/databases/cstore/Makefile index 597decc4401..9e0eec4db03 100644 --- a/databases/cstore/Makefile +++ b/databases/cstore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/02/28 11:58:47 rillig Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/03 15:21:07 jlam Exp $ DISTNAME= cstore0.2 PKGNAME= cstore-0.2 @@ -12,6 +12,8 @@ MAINTAINER= agc@NetBSD.org HOMEPAGE= http://db.lcs.mit.edu/projects/cstore/ COMMENT= Read-optimised column store relational DBMS +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake perl USE_LANGUAGES+= c c++ WRKSRC= ${WRKDIR}/cstore @@ -62,11 +64,12 @@ do-build: cd ${WRKSRC}/src && ./cstoreqptest 0 createData.cnf global.cnf do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cstoreqptest ${PREFIX}/bin/cstoreqp - ${INSTALL_DATA_DIR} ${PREFIX}/cstore/data - cd ${WRKSRC}/data && pax -rwpe . ${PREFIX}/cstore/data - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cstore - cd ${WRKSRC}/doc && pax -rwpe . ${PREFIX}/share/doc/cstore + ${INSTALL_PROGRAM} ${WRKSRC}/src/cstoreqptest \ + ${DESTDIR}${PREFIX}/bin/cstoreqp + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cstore/data + cd ${WRKSRC}/data && pax -rwpe . ${DESTDIR}${PREFIX}/cstore/data + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cstore + cd ${WRKSRC}/doc && pax -rwpe . ${DESTDIR}${PREFIX}/share/doc/cstore .include "../../archivers/lzo/buildlink3.mk" .include "../../databases/db4/buildlink3.mk" |