summaryrefslogtreecommitdiff
path: root/databases/cstore/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 15:21:07 +0000
committerjlam <jlam>2008-03-03 15:21:07 +0000
commitecc663f6cdeea934dc84928e0bea1fd6d603a61e (patch)
tree41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/cstore/Makefile
parent9fd200343b2f22e987b3a055b7c16b03d487082b (diff)
downloadpkgsrc-ecc663f6cdeea934dc84928e0bea1fd6d603a61e.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/Makefile')
-rw-r--r--databases/cstore/Makefile15
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"