diff options
author | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
commit | b5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/tkirc/Makefile | |
parent | 456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff) | |
download | pkgsrc-b5039a1a4c787f67dc3f15e83575b6e33b1f05cf.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/tkirc/Makefile')
-rw-r--r-- | chat/tkirc/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/chat/tkirc/Makefile b/chat/tkirc/Makefile index 3b05b16ccf6..ff19e90e94a 100644 --- a/chat/tkirc/Makefile +++ b/chat/tkirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/03/04 11:29:58 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 02:19:52 jlam Exp $ DISTNAME= tkirc1.202 PKGNAME= tkirc-1.202 @@ -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}/tkirc NO_CONFIGURE= yes @@ -22,11 +23,12 @@ NO_BUILD= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tkirc ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkirc - ${INSTALL_DATA} ${WRKSRC}/tkircrc-example ${PREFIX}/share/doc/tkirc - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkirc - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/tkirc - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/tkirc + ${INSTALL_SCRIPT} ${WRKSRC}/tkirc ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tkirc + ${INSTALL_DATA} ${WRKSRC}/tkircrc-example \ + ${DESTDIR}${PREFIX}/share/doc/tkirc + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tkirc + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/tkirc + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/tkirc .include "../../mk/bsd.pkg.mk" |