summaryrefslogtreecommitdiff
path: root/chat/roxirc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit2e614fcea0b247bbc54200c2ed35e943cca37125 (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/roxirc
parentf61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff)
downloadpkgsrc-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/roxirc')
-rw-r--r--chat/roxirc/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/chat/roxirc/Makefile b/chat/roxirc/Makefile
index cef73cb7438..ac4f8f69029 100644
--- a/chat/roxirc/Makefile
+++ b/chat/roxirc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/22 09:22:07 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 02:19:52 jlam Exp $
#
DISTNAME= roxirc-1.8
@@ -13,6 +13,7 @@ COMMENT= Graphical IRC client written in tcl/tk
DEPENDS+= tk-[0-9]*:../../x11/tk
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= YES
NO_CONFIGURE= YES
@@ -28,14 +29,14 @@ SUBST_SED.paths= -e 's,wish8.3,wish,g'
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/roxirc ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/roxirc
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
- ${INSTALL_DATA} ${WRKSRC}/menus ${EXAMPLESDIR}/menus
- ${INSTALL_DATA} ${WRKSRC}/bindings ${EXAMPLESDIR}/bindings
- ${INSTALL_DATA} ${WRKSRC}/prefs ${EXAMPLESDIR}/prefs-initial
- ${INSTALL_DATA} ${WRKSRC}/startup ${EXAMPLESDIR}/startup
- ${INSTALL_DATA} ${WRKSRC}/help ${PREFIX}/share/doc/roxirc/help
+ ${INSTALL_SCRIPT} ${WRKSRC}/roxirc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/roxirc
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/config ${DESTDIR}${EXAMPLESDIR}/config
+ ${INSTALL_DATA} ${WRKSRC}/menus ${DESTDIR}${EXAMPLESDIR}/menus
+ ${INSTALL_DATA} ${WRKSRC}/bindings ${DESTDIR}${EXAMPLESDIR}/bindings
+ ${INSTALL_DATA} ${WRKSRC}/prefs ${DESTDIR}${EXAMPLESDIR}/prefs-initial
+ ${INSTALL_DATA} ${WRKSRC}/startup ${DESTDIR}${EXAMPLESDIR}/startup
+ ${INSTALL_DATA} ${WRKSRC}/help ${DESTDIR}${PREFIX}/share/doc/roxirc/help
.include "../../mk/bsd.pkg.mk"