diff options
author | asau <asau> | 2009-06-08 20:06:01 +0000 |
---|---|---|
committer | asau <asau> | 2009-06-08 20:06:01 +0000 |
commit | cbc8b097725a749287473f108f47465dcbb64909 (patch) | |
tree | 6b715ed5c65aa0f2612024dc00ae75cc1219e318 /databases | |
parent | 62fbbef832315e000b224834ede7b473ff5c446e (diff) | |
download | pkgsrc-cbc8b097725a749287473f108f47465dcbb64909.tar.gz |
Support staged installation.
Diffstat (limited to 'databases')
-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" |