aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-10-18 21:06:46 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-10-18 21:06:46 +0800
commit94352a3ce72eb5b96aadbc8b64ea094a1f7b64e2 (patch)
tree0452f1334f7d40b826085bbde458cc3a9f960eba /net-im
parent5c52b9fb00cd7c5aefb2d6f581824ef4c586f369 (diff)
downloadfreebsd-ports-gnome-94352a3ce72eb5b96aadbc8b64ea094a1f7b64e2.tar.gz
freebsd-ports-gnome-94352a3ce72eb5b96aadbc8b64ea094a1f7b64e2.tar.zst
freebsd-ports-gnome-94352a3ce72eb5b96aadbc8b64ea094a1f7b64e2.zip
Support USE_TK
PR: 161660 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/icb/Makefile24
-rw-r--r--net-im/icb/pkg-plist8
2 files changed, 16 insertions, 16 deletions
diff --git a/net-im/icb/Makefile b/net-im/icb/Makefile
index f6b075ed573e..28db85bc7a38 100644
--- a/net-im/icb/Makefile
+++ b/net-im/icb/Makefile
@@ -8,7 +8,7 @@
PORTNAME= icb
PORTVERSION= 5.1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-im tcl
MASTER_SITES= http://www.obfuscation.org/icb/
DISTNAME= c${PORTNAME}-${PORTVERSION}
@@ -16,18 +16,26 @@ DISTNAME= c${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Internet CB - a mostly-defunct chat client
-LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84
-
+USE_TK_BUILD= yes
+USE_TK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tclinclude=${LOCALBASE}/include/tcl8.4 \
+CONFIGURE_ARGS= --with-tclinclude=${TCL_INCLUDEDIR} \
--with-tcllib=${LOCALBASE}/lib
+MAKE_JOBS_SAFE= yes
+
+PORTEXAMPLES= bartender confuse echofunctions sample.icbrc
+PLIST_FILES= bin/icb %%DATADIR%%/icbserverdb
+PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/icb
- ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${PREFIX}/share/icb
-.for f in bartender confuse echofunctions sample.icbrc
- ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${PREFIX}/share/icb
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DATADIR}
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+.for f in ${PORTEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${EXAMPLESDIR}
.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net-im/icb/pkg-plist b/net-im/icb/pkg-plist
deleted file mode 100644
index 8f6482be8055..000000000000
--- a/net-im/icb/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $FreeBSD$
-bin/icb
-%%DATADIR%%/bartender
-%%DATADIR%%/confuse
-%%DATADIR%%/echofunctions
-%%DATADIR%%/icbserverdb
-%%DATADIR%%/sample.icbrc
-@dirrm %%DATADIR%%