pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/roxirc Switch to Tk 8.4 and enable pkgviews insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67c3095a165c
branches:  trunk
changeset: 470843:67c3095a165c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Mar 12 05:46:21 2004 +0000

description:
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:

 chat/roxirc/Makefile |  17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 916c38011e15 -r 67c3095a165c chat/roxirc/Makefile
--- a/chat/roxirc/Makefile      Fri Mar 12 05:44:52 2004 +0000
+++ b/chat/roxirc/Makefile      Fri Mar 12 05:46:21 2004 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index