Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 21:07:54 +0100 (CET)
From:      Koop Mast <einekoai@chello.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48438: non-maintainer update irc/xchat2 
Message-ID:  <20030218200754.90AE6B816@prisma.quccc.org>

next in thread | raw e-mail | index | archive | help

>Number:         48438
>Category:       ports
>Synopsis:       non-maintainer update irc/xchat2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 18 12:10:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD prisma.quccc.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Jan 13 22:53:21 CET 2003 root@prisma.quccc.org:/usr/obj/usr/src/sys/RAINBOW i386


	
>Description:
	o) add optional tcl script support
	o) convert from pkg-comment to COMMENT so please remove pkg-comment
	o) bump portrevision
	
>How-To-Repeat:
	
>Fix:

	

--- xchat2.diff begins here ---
diff -ruN xchat2.orig/Makefile xchat2/Makefile
--- xchat2.orig/Makefile	Wed Feb 12 04:31:58 2003
+++ xchat2/Makefile	Tue Feb 18 21:01:31 2003
@@ -7,12 +7,14 @@
 
 PORTNAME=	xchat2
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	irc gnome ipv6
 MASTER_SITES=	http://xchat.org/files/source/2.0/ \
 		http://xchat.linuxpower.org/files/source/2.0/
 DISTNAME=	xchat-${PORTVERSION}
 
 MAINTAINER=	gnome@FreeBSD.org
+COMMENT=	An X11 IRC client using the GTK+ 2 toolkit
 
 LIB_DEPENDS=	gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
 
@@ -48,8 +50,21 @@
 PLIST_SUB=	PYTHON="@comment "
 .endif
 
+.if defined(WITH_TCL)
+LIB_DEPENDS=    tcl83.1:${PORTSDIR}/lang/tcl83
+CONFIGURE_ARGS+=	--enable-tcl=${LOCALBASE}/lib/tcl8.3
+CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
+		-I${LOCALBASE}/include/tcl8.3" \
+                LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
+		-L${LOCALBASE}/lib/tcl8.3"
+PLIST_SUB=	TCL=""
+.else
+CONFIGURE_ARGS+=	--enable-tcl=no
+PLIST_SUB=	TCL="@comment "
+.endif
+
 pre-everything::
-.if !defined(WITH_PYTHON) || !defined(WITH_SOCKS)
+.if !defined(WITH_PYTHON) || !defined(WITH_SOCKS) || !defined(WITH_TCL)
 	@${ECHO_MSG} "You may specify the following on the command line:"
 	@${ECHO_MSG} ""
 .endif
@@ -58,6 +73,9 @@
 .endif
 .if !defined(WITH_SOCKS)
 	@${ECHO_MSG} "WITH_SOCKS=yes for SOCKS5 proxy support"
+.endif
+.if !defined(WITH_TCL)
+	@${ECHO_MSG} "WITH_TCL=yes for tcl support"
 .endif
 
 post-patch:
diff -ruN xchat2.orig/pkg-comment xchat2/pkg-comment
--- xchat2.orig/pkg-comment	Sun Aug 18 06:21:24 2002
+++ xchat2/pkg-comment	Thu Jan  1 01:00:00 1970
@@ -1 +0,0 @@
-An X11 IRC client using the GTK+ 2 toolkit
diff -ruN xchat2.orig/pkg-plist xchat2/pkg-plist
--- xchat2.orig/pkg-plist	Wed Feb 12 04:31:58 2003
+++ xchat2/pkg-plist	Mon Feb 17 15:16:29 2003
@@ -2,6 +2,7 @@
 bin/xchat-text
 lib/xchat/plugins/perl.so
 %%PYTHON%%lib/xchat/plugins/python.so
+%%TCL%%lib/xchat/plugins/tcl.so
 share/gnome/apps/Internet/xchat.desktop
 share/gnome/pixmaps/xchat.png
 share/locale/am/LC_MESSAGES/xchat.mo
--- xchat2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030218200754.90AE6B816>