diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 2e614fcea0b247bbc54200c2ed35e943cca37125 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/i2cb/Makefile | |
parent | f61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff) | |
download | pkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.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/Makefile')
-rw-r--r-- | chat/i2cb/Makefile | 15 |
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" |