ports/161660: Update port: net-im/icb
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 14 18:50:37 UTC 2011
>Number: 161660
>Category: ports
>Synopsis: Update port: net-im/icb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 14 18:50:36 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support USE_TK
- Support PORTEXAMPLES/PLIST_FILES
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/net-im/icb/Makefile net-im/icb/Makefile
--- /usr/ports/net-im/icb/Makefile 2008-04-09 23:39:36.000000000 +0900
+++ net-im/icb/Makefile 2011-08-28 18:12:52.000000000 +0900
@@ -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 @@
MAINTAINER= ports at 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 -urN /usr/ports/net-im/icb/pkg-plist net-im/icb/pkg-plist
--- /usr/ports/net-im/icb/pkg-plist 2005-10-08 00:22:49.000000000 +0900
+++ net-im/icb/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,8 +0,0 @@
- at comment $FreeBSD: ports/net-im/icb/pkg-plist,v 1.5 2005/10/07 15:22:49 mnag Exp $
-bin/icb
-%%DATADIR%%/bartender
-%%DATADIR%%/confuse
-%%DATADIR%%/echofunctions
-%%DATADIR%%/icbserverdb
-%%DATADIR%%/sample.icbrc
- at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list