diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-10-18 13:06:46 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-10-18 13:06:46 +0000 |
commit | 1a1695e15d3ff1262366deca75bb884c78124c5e (patch) | |
tree | e6b1f82c9abb54a1848190c1bd1f7dc91a27c886 /net-im/icb | |
parent | 6b6d0a690474584b0f2d592bc5235193420b672e (diff) | |
download | ports-1a1695e15d3ff1262366deca75bb884c78124c5e.tar.gz ports-1a1695e15d3ff1262366deca75bb884c78124c5e.zip |
Support USE_TK
PR: 161660
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=283801
Diffstat (limited to 'net-im/icb')
-rw-r--r-- | net-im/icb/Makefile | 24 | ||||
-rw-r--r-- | net-im/icb/pkg-plist | 8 |
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%% |