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 | 960171aa995ba9a28a5c49a383750d43281cbc4f (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/tkicb | |
parent | b98d5450b595b15bf04433f737a91ddd33d9dfae (diff) | |
download | pkgsrc-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/tkicb')
-rw-r--r-- | chat/tkicb/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/chat/tkicb/Makefile b/chat/tkicb/Makefile index fb194d5957f..4529ce9afa3 100644 --- a/chat/tkicb/Makefile +++ b/chat/tkicb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/03/21 19:44:10 jwise Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/03 02:19:52 jlam Exp $ # DISTNAME= icb.2.1.4 @@ -20,6 +20,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED} NO_SRC_ON_CDROM= ${RESTRICTED} PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} NO_CONFIGURE= YES @@ -34,14 +35,16 @@ do-build: > ${WRKSRC}/bin/tkicb do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/tkicb ${PREFIX}/bin/tkicb - ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb - ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb/tcl - ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb/lib - ${INSTALL_SCRIPT} ${WRKSRC}/icb.tcl ${PREFIX}/libdata/tkicb/icb.tcl - ${INSTALL_SCRIPT} ${WRKSRC}/tcl/*.tcl ${PREFIX}/libdata/tkicb/tcl + ${INSTALL_SCRIPT} ${WRKSRC}/bin/tkicb ${DESTDIR}${PREFIX}/bin/tkicb + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb/tcl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb/lib + ${INSTALL_SCRIPT} ${WRKSRC}/icb.tcl \ + ${DESTDIR}${PREFIX}/libdata/tkicb/icb.tcl + ${INSTALL_SCRIPT} ${WRKSRC}/tcl/*.tcl \ + ${DESTDIR}${PREFIX}/libdata/tkicb/tcl ${INSTALL_SCRIPT} ${WRKSRC}/lib/confuse ${WRKSRC}/lib/flirt \ - ${WRKSRC}/lib/servers ${PREFIX}/libdata/tkicb/lib - ${INSTALL_SCRIPT} ${WRKSRC}/lib/* ${PREFIX}/libdata/tkicb/lib + ${WRKSRC}/lib/servers ${DESTDIR}${PREFIX}/libdata/tkicb/lib + ${INSTALL_SCRIPT} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/libdata/tkicb/lib .include "../../mk/bsd.pkg.mk" |