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/tkirc2/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/tkirc2/Makefile')
-rw-r--r-- | chat/tkirc2/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/chat/tkirc2/Makefile b/chat/tkirc2/Makefile index e7fa10c766d..06ab5bc08f8 100644 --- a/chat/tkirc2/Makefile +++ b/chat/tkirc2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/09/19 06:46:51 tron Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 02:19:52 jlam Exp $ DISTNAME= tkirc2.46 PKGNAME= tkirc2-2.46 @@ -14,6 +14,7 @@ DEPENDS+= ircII-[0-9]*:../../chat/ircII DEPENDS+= tk>=8.3.2:../../x11/tk PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/tkirc2 NO_CONFIGURE= yes @@ -28,17 +29,17 @@ SUBST_SED.paths= -e 's,wish8.3,wish,g' INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tkirc2 ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkirc2 - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tkirc2/scripts - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkirc2 - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/tkirc2 - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/tkirc2 + ${INSTALL_SCRIPT} ${WRKSRC}/tkirc2 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tkirc2 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tkirc2/scripts + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tkirc2 + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/tkirc2 + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/tkirc2 ${INSTALL_SCRIPT} ${WRKSRC}/.tkirc2/scripts/* \ - ${PREFIX}/share/examples/tkirc2/scripts + ${DESTDIR}${PREFIX}/share/examples/tkirc2/scripts ${INSTALL_DATA} ${WRKSRC}/.tkirc2/netscape.sh \ - ${PREFIX}/share/examples/tkirc2 + ${DESTDIR}${PREFIX}/share/examples/tkirc2 ${INSTALL_DATA} ${WRKSRC}/.tkirc2/tkircrc-example \ - ${PREFIX}/share/examples/tkirc2 + ${DESTDIR}${PREFIX}/share/examples/tkirc2 .include "../../mk/bsd.pkg.mk" |