pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/tkicb Switch to Tk 8.4 and enable pkgviews instal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/990d716f3c9a
branches:  trunk
changeset: 470795:990d716f3c9a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Mar 12 01:07:05 2004 +0000

description:
Switch to Tk 8.4 and enable pkgviews installtion.

Since this package doesn't actually build anything, define
NO_BUILDLINK and NO_CONFIGURE, and set USE_LANGUAGES to an empty
string.

diffstat:

 chat/tkicb/Makefile |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 5e2a8ccab15a -r 990d716f3c9a chat/tkicb/Makefile
--- a/chat/tkicb/Makefile       Fri Mar 12 00:48:39 2004 +0000
+++ b/chat/tkicb/Makefile       Fri Mar 12 01:07:05 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/03/08 20:27:13 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2004/03/12 01:07:05 minskim Exp $
 #
 
 DISTNAME=      icb.2.1.4
@@ -18,13 +18,20 @@
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 NO_SRC_ON_CDROM=       ${RESTRICTED}
 
+DEPENDS+=      tk-[0-9]*:../../x11/tk
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
 WRKSRC=                ${WRKDIR}
-USE_BUILDLINK2=        YES
-USE_X11=       YES
+NO_BUILDLINK=  YES
+NO_CONFIGURE=  YES
+USE_LANGUAGES= # empty
+
+INSTALLATION_DIRS=     bin
 
 do-build:
        ${SED} -e 's,/usr/local/lib/icb,${PREFIX}/libdata/tkicb,g' \
-               -e 's,wish8\.0,${PREFIX}/bin/wish,g' < ${WRKSRC}/bin/icb \
+               -e 's,wish8\.0,${LOCALBASE}/bin/wish,g' < ${WRKSRC}/bin/icb \
                > ${WRKSRC}/bin/tkicb
 
 do-install:
@@ -38,5 +45,4 @@
                ${WRKSRC}/lib/servers ${PREFIX}/libdata/tkicb/lib
        ${INSTALL_SCRIPT} ${WRKSRC}/lib/* ${PREFIX}/libdata/tkicb/lib
 
-.include "../../x11/tk83/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index