summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-28 19:35:16 +0000
committerjoerg <joerg>2010-01-28 19:35:16 +0000
commitf5cb6da337e911b1936ed2a9729854a38cbbc4db (patch)
tree3db048060ff4425ac7d9aa2d3b4217a81b763483 /chat
parentd3581abae9e2e33be303b17119ed6c4f12739ed5 (diff)
downloadpkgsrc-f5cb6da337e911b1936ed2a9729854a38cbbc4db.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"