pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Full DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/413b7a212129
branches: trunk
changeset: 537165:413b7a212129
user: ghen <ghen%pkgsrc.org@localhost>
date: Fri Jan 04 12:18:27 2008 +0000
description:
Full DESTDIR support.
diffstat:
databases/ldapvi/Makefile | 10 +++++++---
net/ez-ipupdate/Makefile | 10 ++++++----
2 files changed, 13 insertions(+), 7 deletions(-)
diffs (64 lines):
diff -r 277519a9a8cf -r 413b7a212129 databases/ldapvi/Makefile
--- a/databases/ldapvi/Makefile Fri Jan 04 12:17:16 2008 +0000
+++ b/databases/ldapvi/Makefile Fri Jan 04 12:18:27 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/11/07 07:47:43 ghen Exp $
+# $NetBSD: Makefile,v 1.3 2008/01/04 12:24:41 ghen Exp $
DISTNAME= ldapvi-1.7
CATEGORIES= databases
@@ -8,6 +8,8 @@
HOMEPAGE= http://www.lichteblau.com/ldapvi/
COMMENT= Interactive LDAP client
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_NCURSES= yes
USE_GNU_READLINE= yes
@@ -15,11 +17,13 @@
USE_TOOLS+= gmake pkg-config
MAKE_FILE= GNUmakefile
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "options.mk"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
diff -r 277519a9a8cf -r 413b7a212129 net/ez-ipupdate/Makefile
--- a/net/ez-ipupdate/Makefile Fri Jan 04 12:17:16 2008 +0000
+++ b/net/ez-ipupdate/Makefile Fri Jan 04 12:18:27 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/04/22 09:22:12 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2008/01/04 12:18:27 ghen Exp $
DISTNAME= ez-ipupdate-3.0.11b7
CATEGORIES= net
@@ -8,6 +8,8 @@
HOMEPAGE= http://www.ez-ipupdate.com/
COMMENT= Client to update dynamic DNS entries
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/ez-ipupdate
@@ -21,8 +23,8 @@
SUBST_SED.path+= -e "s|cache-file=/etc/|cache-file=${PKG_SYSCONFDIR}/|g"
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/example.conf ${EGDIR}/ez-ipupdate.conf
- ${INSTALL_DATA} ${WRKSRC}/example-*.conf ${EGDIR}/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.conf ${DESTDIR}${EGDIR}/ez-ipupdate.conf
+ ${INSTALL_DATA} ${WRKSRC}/example-*.conf ${DESTDIR}${EGDIR}/
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index