summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-28 19:35:16 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-28 19:35:16 +0000
commita5df7363bd831fa0679fcef18e0e735a4b8f558d (patch)
tree3db048060ff4425ac7d9aa2d3b4217a81b763483 /chat
parent39278a0bf0006b778e08fed98b512a0b97e3901a (diff)
downloadpkgsrc-a5df7363bd831fa0679fcef18e0e735a4b8f558d.tar.gz
DESTDIR support
Diffstat (limited to 'chat')
-rw-r--r--chat/i2cbd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/chat/i2cbd/Makefile b/chat/i2cbd/Makefile
index ddc74a7be62..f14e1a093d5 100644
--- a/chat/i2cbd/Makefile
+++ b/chat/i2cbd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2009/08/20 15:24:58 jwise Exp $
+# $NetBSD: Makefile,v 1.30 2010/01/28 19:35:16 joerg Exp $
#
DISTNAME= i2cbd-2.0_BETA5
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.draga.com/~jwise/i2cb/
COMMENT= Next generation Internet Citizens Band chat server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= ICBD_OWNER
@@ -33,12 +35,15 @@ RCD_SCRIPT_SRC.icbd= ${WRKSRC}/etc/icbd.sh
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/examples/i2cbd \
share/examples/rc.d
+INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/sbin \
+ MAN8DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+
post-extract:
-${RM} -f ${WRKSRC}/*/.depend
post-install:
.for f in ${EGFILES}
- ${INSTALL_DATA} ${WRKSRC}/etc/${f:Q} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${DESTDIR}${EGDIR}
.endfor
.include "../../mk/bsd.pkg.mk"