pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/sqlite Support staged installation.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8406ac429a94
branches: trunk
changeset: 394327:8406ac429a94
user: asau <asau%pkgsrc.org@localhost>
date: Mon Jun 08 20:06:01 2009 +0000
description:
Support staged installation.
diffstat:
databases/sqlite/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r f6ab0748a34d -r 8406ac429a94 databases/sqlite/Makefile
--- a/databases/sqlite/Makefile Mon Jun 08 19:26:29 2009 +0000
+++ b/databases/sqlite/Makefile Mon Jun 08 20:06:01 2009 +0000
@@ -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 @@
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 @@
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"
Home |
Main Index |
Thread Index |
Old Index