summaryrefslogtreecommitdiff
path: root/chat
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
commit9c7dbe6bf8ae02df0d82a0a779e8295995d2f1fc (patch)
tree76c22bcdda40f7428ece067775f7533960b325cd /chat
parente1be16f2d2e36f1b42506e82aac0602d44924eb5 (diff)
downloadpkgsrc-9c7dbe6bf8ae02df0d82a0a779e8295995d2f1fc.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')
-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"