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/tik/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/tik/Makefile')
-rw-r--r-- | chat/tik/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/chat/tik/Makefile b/chat/tik/Makefile index 11d3b119d27..d72774bca49 100644 --- a/chat/tik/Makefile +++ b/chat/tik/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/08/26 13:58:17 minskim Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 02:19:52 jlam Exp $ # DISTNAME= tik-0.90 @@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://tik.sourceforge.net/ COMMENT= Tcl/Tk AOL Instant Messenger client +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/tik NO_BUILD= yes USE_TOOLS+= wish:run @@ -23,9 +25,9 @@ TIKDIR= ${PREFIX}/libexec/tik INSTALLATION_DIRS= bin do-install: - ${INSTALL_DATA_DIR} ${TIKDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/tik.tcl ${TIKDIR} - ${LN} -s ${TIKDIR}/tik.tcl ${PREFIX}/bin/tik + ${INSTALL_DATA_DIR} ${DESTDIR}${TIKDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/tik.tcl ${DESTDIR}${TIKDIR} + ${LN} -s ${TIKDIR}/tik.tcl ${DESTDIR}${PREFIX}/bin/tik ${INSTALL_DATA} \ ${WRKSRC}/balloonhelp.tcl \ ${WRKSRC}/buddylist.tcl \ @@ -49,21 +51,21 @@ do-install: ${WRKSRC}/version.tcl \ ${WRKSRC}/example.awayrc \ ${WRKSRC}/example.pkgrc \ - ${TIKDIR} + ${DESTDIR}${TIKDIR} cd ${WRKSRC} && \ - ${PAX} -rw components ${TIKDIR} && \ - ${PAX} -rw media ${TIKDIR} && \ - ${PAX} -rw packages ${TIKDIR} && \ - ${PAX} -rw strs ${TIKDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tik - cd ${WRKSRC}/doc && ${PAX} -rw . ${PREFIX}/share/doc/tik - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tik + ${PAX} -rw components ${DESTDIR}${TIKDIR} && \ + ${PAX} -rw media ${DESTDIR}${TIKDIR} && \ + ${PAX} -rw packages ${DESTDIR}${TIKDIR} && \ + ${PAX} -rw strs ${DESTDIR}${TIKDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tik + cd ${WRKSRC}/doc && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/tik + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tik ${INSTALL_DATA} \ ${WRKSRC}/example.awayrc \ ${WRKSRC}/example.pkgrc \ ${WRKSRC}/example.tikpre \ ${WRKSRC}/example.tikrc \ ${WRKSRC}/example.tikstrs \ - ${PREFIX}/share/examples/tik + ${DESTDIR}${PREFIX}/share/examples/tik .include "../../mk/bsd.pkg.mk" |