diff options
author | asau <asau> | 2009-06-08 20:06:01 +0000 |
---|---|---|
committer | asau <asau> | 2009-06-08 20:06:01 +0000 |
commit | 062a04d12b81e1af59d0e2c8fb75115ebf0d6fc1 (patch) | |
tree | 6b715ed5c65aa0f2612024dc00ae75cc1219e318 /databases/sqlite/Makefile | |
parent | dae66ade6178e08d04919f61df084a1e61c99b4d (diff) | |
download | pkgsrc-062a04d12b81e1af59d0e2c8fb75115ebf0d6fc1.tar.gz |
Support staged installation.
Diffstat (limited to 'databases/sqlite/Makefile')
-rw-r--r-- | databases/sqlite/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/sqlite/Makefile b/databases/sqlite/Makefile index b5b4c35bbcc..32a34077f92 100644 --- a/databases/sqlite/Makefile +++ b/databases/sqlite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2009/05/20 00:58:11 wiz Exp $ +# $NetBSD: Makefile,v 1.40 2009/06/08 20:06:01 asau Exp $ DISTNAME= sqlite-2.8.16 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.hwaci.com/sw/sqlite/ COMMENT= SQL Database Engine in a C Library +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/sqlite-build USE_TOOLS+= gmake USE_LIBTOOL= yes @@ -33,11 +35,13 @@ CFLAGS+= -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t \ PKGCONFIG_OVERRIDE= ${WRKDIR}/sqlite-2.8.16/sqlite.pc.in +INSTALLATION_DIRS= ${PKGMANDIR}/man1 + post-extract: ${MKDIR} ${WRKSRC} post-install: - ${INSTALL_MAN} ${WRKDIR}/sqlite-2.8.16/sqlite.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKDIR}/sqlite-2.8.16/sqlite.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../devel/readline/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |