Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 12:52:42 +0100 (CET)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110578: [PATCH] irc/tkirc - Update to TCL/TK 8.4, Take maintainership
Message-ID:  <20070320115242.404DEB82A@mail.rwxrwxrwx.net>
Resent-Message-ID: <200703201200.l2KC0Cob076780@freefall.freebsd.org>

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

>Number:         110578
>Category:       ports
>Synopsis:       [PATCH] irc/tkirc - Update to TCL/TK 8.4, Take maintainership
>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:   Tue Mar 20 12:00:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386

>Description:

- Update to TCL/TK 8.4
- Take maintainership

>How-To-Repeat:

>Fix:

--- patch-tkirc begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/irc/tkirc/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	5 Nov 2006 07:55:00 -0000	1.18
+++ Makefile	20 Mar 2007 08:18:24 -0000
@@ -7,28 +7,34 @@
 
 PORTNAME=	tkirc
 PORTVERSION=	2.46
-CATEGORIES=	irc tk83
+PORTREVISION=	1
+CATEGORIES=	irc tk84
 MASTER_SITES=	http://netsplit.de/tkirc2/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	carpetsmoker@xs4all.nl
 COMMENT=	A GUI for the ircII Internet Relay Chat client
 
-RUN_DEPENDS=	irc:${PORTSDIR}/irc/ircII \
-		wish8.3:${PORTSDIR}/x11-toolkits/tk83
+RUN_DEPENDS=	irc:${PORTSDIR}/irc/ircII
 
+USE_TK=		yes
 WRKSRC=		${WRKDIR}/tkirc2
 NO_BUILD=	yes
 
+post-patch:
+	@${REINPLACE_CMD} 's|wish8\.3|${WISH}|;' ${WRKSRC}/tkirc2
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tkirc2 ${PREFIX}/bin
 	${LN} -f ${PREFIX}/bin/tkirc2 ${PREFIX}/bin/tkirc
-	${MKDIR} ${PREFIX}/share/doc/tkirc
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/tkirc
-	${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/tkirc
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkirc
-	${MKDIR} ${PREFIX}/share/doc/tkirc/examples
-	${TAR} cf - -C ${WRKSRC} .tkirc2 | \
-	    ${TAR} xf - -C ${PREFIX}/share/doc/tkirc/examples
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	${MKDIR} ${EXAMPLESDIR}
+	${MV} ${WRKSRC}/.tkirc2/.data ${WRKSRC}/.tkirc2/DOTdata
+	${CP} -r ${WRKSRC}/.tkirc2 ${EXAMPLESDIR}/DOTtkirc2
+.endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/irc/tkirc/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	29 Aug 2000 22:27:31 -0000	1.2
+++ pkg-plist	20 Mar 2007 08:18:24 -0000
@@ -1,21 +1,19 @@
 bin/tkirc
 bin/tkirc2
-share/doc/tkirc/CHANGES
-share/doc/tkirc/COPYING
-share/doc/tkirc/README
-@exec mkdir -p %D/share/doc/tkirc/examples/.tkirc2/.data
-@exec mkdir -p %D/share/doc/tkirc/examples/.tkirc2/autoload
-share/doc/tkirc/examples/.tkirc2/netscape.sh
-share/doc/tkirc/examples/.tkirc2/tkircrc-example
-share/doc/tkirc/examples/.tkirc2/scripts/crazy1.tcl
-share/doc/tkirc/examples/.tkirc2/scripts/crazy2.tcl
-share/doc/tkirc/examples/.tkirc2/scripts/crazy3.tcl
-share/doc/tkirc/examples/.tkirc2/scripts/examples.tcl
-share/doc/tkirc/examples/.tkirc2/scripts/hilo.tcl
-share/doc/tkirc/examples/.tkirc2/scripts/sound.tcl
-@dirrm share/doc/tkirc/examples/.tkirc2/.data
-@dirrm share/doc/tkirc/examples/.tkirc2/autoload
-@dirrm share/doc/tkirc/examples/.tkirc2/scripts
-@dirrm share/doc/tkirc/examples/.tkirc2
-@dirrm share/doc/tkirc/examples
-@dirrm share/doc/tkirc
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/netscape.sh
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/tkircrc-example
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/crazy1.tcl
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/crazy2.tcl
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/crazy3.tcl
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/examples.tcl
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/hilo.tcl
+%%PORTDOCS%%%%EXAMPLESDIR%%/DOTtkirc2/scripts/sound.tcl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/DOTtkirc2/DOTdata
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/DOTtkirc2/autoload
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/DOTtkirc2/scripts
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/DOTtkirc2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- patch-tkirc ends here ---

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



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