summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/tkirc2/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/chat/tkirc2/Makefile b/chat/tkirc2/Makefile
index 3ccf895c349..249f0747f03 100644
--- a/chat/tkirc2/Makefile
+++ b/chat/tkirc2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2004/03/08 20:27:13 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/12 01:44:21 minskim Exp $
DISTNAME= tkirc2.46
PKGNAME= tkirc2-2.46
+PKGREVISION= 1
CATEGORIES= chat x11
MASTER_SITES= ftp://ftp.netsplit.de/pub/tcltk/
@@ -10,13 +11,23 @@ HOMEPAGE= http://netsplit.de/tkirc2/
COMMENT= GUI for the ircII Internet Relay Chat client
DEPENDS+= ircII-[0-9]*:../../chat/ircII
-DEPENDS+= tk>=8.3.2:../../x11/tk83
+DEPENDS+= tk>=8.3.2:../../x11/tk
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/tkirc2
-USE_X11= yes
+NO_BUILDLINK= yes
NO_CONFIGURE= yes
NO_BUILD= yes
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded command names."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= tkirc2
+SUBST_SED.paths= -e 's,wish8.3,wish,g'
+
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkirc2 ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkirc2