summaryrefslogtreecommitdiff
path: root/chat/roxirc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-12 05:46:21 +0000
committerminskim <minskim@pkgsrc.org>2004-03-12 05:46:21 +0000
commita3acc4647fa386664cc560083b4b4d2b46a0a616 (patch)
tree76c22bcdda40f7428ece067775f7533960b325cd /chat/roxirc
parent6aad69badae4bd77f48a6e740bd2dfbf5b5a5197 (diff)
downloadpkgsrc-a3acc4647fa386664cc560083b4b4d2b46a0a616.tar.gz
Switch to Tk 8.4 and enable pkgviews installation. Also use DEPENDS
instead of including buildlink2.mk because this package does not build anything.
Diffstat (limited to 'chat/roxirc')
-rw-r--r--chat/roxirc/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/chat/roxirc/Makefile b/chat/roxirc/Makefile
index 7078d3e9110..7f3659fa2b3 100644
--- a/chat/roxirc/Makefile
+++ b/chat/roxirc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/03/08 20:27:13 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2004/03/12 05:46:21 minskim Exp $
#
DISTNAME= roxirc-1.8
@@ -9,12 +9,24 @@ MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://roxirc.lighter.net/
COMMENT= Graphical IRC client written in tcl/tk
-USE_BUILDLINK2= YES
+DEPENDS+= tk-[0-9]*:../../x11/tk
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_BUILDLINK= YES
NO_BUILD= YES
NO_CONFIGURE= YES
EXAMPLESDIR= ${PREFIX}/share/examples/roxirc
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded command names."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= roxirc
+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
@@ -26,5 +38,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/startup ${EXAMPLESDIR}/startup
${INSTALL_DATA} ${WRKSRC}/help ${PREFIX}/share/doc/roxirc/help
-.include "../../x11/tk83/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"