summaryrefslogtreecommitdiff
path: root/net/nidentd
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:14:30 +0000
committerjoerg <joerg>2010-02-11 22:14:30 +0000
commit2bb3117590b67f1fe0a0c6ab3915e3876f19e80e (patch)
tree158a207e58929596737a90cde12a40358acd9b2d /net/nidentd
parent899cbf4f8e2b987e61ce3c40f894971c69412cd3 (diff)
downloadpkgsrc-2bb3117590b67f1fe0a0c6ab3915e3876f19e80e.tar.gz
DESTDIR support
Diffstat (limited to 'net/nidentd')
-rw-r--r--net/nidentd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/nidentd/Makefile b/net/nidentd/Makefile
index 5295f02d5c1..ce303d0f193 100644
--- a/net/nidentd/Makefile
+++ b/net/nidentd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:26 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2010/02/11 22:19:14 joerg Exp $
#
DISTNAME= nidentd-1.0
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= symka@NetBSD.org
COMMENT= identd that supports IPv4, IPv6, NAT, fake and random
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= lsof>=4.61:../../sysutils/lsof
INSTALLATION_DIRS= etc libexec
@@ -21,8 +23,8 @@ do-build:
${MV} ${WRKSRC}/nidentd.tmp ${WRKSRC}/nidentd
do-install:
- ${INSTALL_DATA} ${WRKSRC}/nidentd.nat ${PREFIX}/etc/nidentd.nat.example ; \
- ${INSTALL_DATA} ${WRKSRC}/nidentd.fake ${PREFIX}/etc/nidentd.fake.example ; \
- ${INSTALL_SCRIPT} ${WRKSRC}/nidentd ${PREFIX}/libexec
+ ${INSTALL_DATA} ${WRKSRC}/nidentd.nat ${DESTDIR}${PREFIX}/etc/nidentd.nat.example ; \
+ ${INSTALL_DATA} ${WRKSRC}/nidentd.fake ${DESTDIR}${PREFIX}/etc/nidentd.fake.example ; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/nidentd ${DESTDIR}${PREFIX}/libexec
.include "../../mk/bsd.pkg.mk"