summaryrefslogtreecommitdiff
path: root/net/ez-ipupdate
diff options
context:
space:
mode:
authorghen <ghen>2008-01-04 12:18:27 +0000
committerghen <ghen>2008-01-04 12:18:27 +0000
commitbdade7db15e62e93d7b1a9c9623653b597dbe1d7 (patch)
tree569b1f9bfe1a8de8c5c9faf85693db463d42f766 /net/ez-ipupdate
parent04d84ec1c2353a8e9a6f45d8b0d9a36a12ec05e5 (diff)
downloadpkgsrc-bdade7db15e62e93d7b1a9c9623653b597dbe1d7.tar.gz
Full DESTDIR support.
Diffstat (limited to 'net/ez-ipupdate')
-rw-r--r--net/ez-ipupdate/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/ez-ipupdate/Makefile b/net/ez-ipupdate/Makefile
index b901363e298..ad2c7a55268 100644
--- a/net/ez-ipupdate/Makefile
+++ b/net/ez-ipupdate/Makefile
@@ -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 @@ MAINTAINER= ghen@NetBSD.org
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|/usr/local|${PREFIX}|g"
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"