From 507c994b1e4ac9a62e12ebb68490f6d515ecaf49 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 7 Mar 2011 02:19:51 +0000 Subject: Add user-destdir installation support. --- chat/zircon/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chat/zircon') diff --git a/chat/zircon/Makefile b/chat/zircon/Makefile index 32186c4791b..2e8b3550205 100644 --- a/chat/zircon/Makefile +++ b/chat/zircon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2010/10/03 07:32:42 obache Exp $ +# $NetBSD: Makefile,v 1.15 2011/03/07 02:19:51 obache Exp $ # DISTNAME= zircon-1.18.245 @@ -11,13 +11,15 @@ HOMEPAGE= http://catless.ncl.ac.uk/Programs/Zircon/ COMMENT= X11 interface to Internet Relay Chat LICENSE= original-bsd +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes NO_BUILD= yes USE_TOOLS+= wish:run tclsh do-install: - @( cd ${WRKSRC} && ${TCLSH} installer/install.tcl -b ${PREFIX}/bin -l ${PREFIX}/share/zircon -w ${WISH} -g) + @( cd ${WRKSRC} && ${TCLSH} installer/install.tcl -b ${PREFIX}/bin -l ${PREFIX}/share/zircon -p ${DESTDIR:Q} -w ${WISH} -g) @${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/zircon .for file in BUGS COPYRIGHT FAQ MANUAL MIRRORS README.ONS README.load README.look README.prefs TODO @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DESTDIR}${PREFIX}/share/doc/zircon -- cgit v1.2.3