summaryrefslogtreecommitdiff
path: root/chat/i2cb
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit960171aa995ba9a28a5c49a383750d43281cbc4f (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/i2cb
parentb98d5450b595b15bf04433f737a91ddd33d9dfae (diff)
downloadpkgsrc-960171aa995ba9a28a5c49a383750d43281cbc4f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/i2cb')
-rw-r--r--chat/i2cb/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/chat/i2cb/Makefile b/chat/i2cb/Makefile
index 752503b9ceb..ff6d58ac71e 100644
--- a/chat/i2cb/Makefile
+++ b/chat/i2cb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/05/21 09:56:15 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 02:19:51 jlam Exp $
#
DISTNAME= i2cb-6.0_ALPHA
@@ -10,6 +10,8 @@ MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://www.draga.com/~jwise/i2cb/
COMMENT= Next generation Internet Citicen's Band chat client
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/icb
USE_GNU_READLINE= yes
@@ -19,16 +21,17 @@ post-extract:
${RM} -f ${WRKSRC}/src/.depend
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/icb ${PREFIX}/bin/i2cb
- ${INSTALL_SCRIPT} ${WRKSRC}/icbserverdb ${PREFIX}/libdata/i2cbserverdb
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/i2cb
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/icb ${DESTDIR}${PREFIX}/bin/i2cb
+ ${INSTALL_SCRIPT} ${WRKSRC}/icbserverdb \
+ ${DESTDIR}${PREFIX}/libdata/i2cbserverdb
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/i2cb
${INSTALL_SCRIPT} ${WRKSRC}/sample.icbrc \
- ${PREFIX}/libdata/i2cb/sample.i2cbrc
+ ${DESTDIR}${PREFIX}/libdata/i2cb/sample.i2cbrc
${INSTALL_SCRIPT} \
${WRKSRC}/contrib/bartender \
${WRKSRC}/contrib/confuse \
${WRKSRC}/contrib/echofile \
- ${PREFIX}/libdata/i2cb
+ ${DESTDIR}${PREFIX}/libdata/i2cb
.include "../../lang/tcl83/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"