pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/sqlite3 Added support for installation to DE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67107678b0d6
branches:  trunk
changeset: 528913:67107678b0d6
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun May 20 00:17:01 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 databases/sqlite3/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 1af59736e901 -r 67107678b0d6 databases/sqlite3/Makefile
--- a/databases/sqlite3/Makefile        Sat May 19 22:48:52 2007 +0000
+++ b/databases/sqlite3/Makefile        Sun May 20 00:17:01 2007 +0000
@@ -1,11 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2006/08/29 10:06:19 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2007/05/20 00:17:01 heinz Exp $
+
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 .include "Makefile.common"
 
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 CONFIGURE_ARGS+=       --disable-tcl
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${PREFIX}/${PKGMANDIR}/man1/sqlite3.1
+       ${INSTALL_MAN} ${WRKSRC}/sqlite3.1 \
+               ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/sqlite3.1
 
 .include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index