From mm@mail.vx.sk  Mon Jan  5 14:16:44 2009
Return-Path: <mm@mail.vx.sk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 643291065680
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 14:16:44 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from mail.vx.sk (neo.vx.sk [194.160.65.240])
	by mx1.freebsd.org (Postfix) with ESMTP id 246708FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 14:16:44 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from localhost (localhost [127.0.0.1])
	by mail.vx.sk (Postfix) with ESMTP id 727E44AD42
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 15:16:43 +0100 (CET)
Received: from mail.vx.sk ([127.0.0.1])
	by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id gHry4NR+cbfS for <FreeBSD-gnats-submit@freebsd.org>;
	Mon,  5 Jan 2009 15:16:40 +0100 (CET)
Received: by mail.vx.sk (Postfix, from userid 1001)
	id 8BE8B4AC41; Mon,  5 Jan 2009 15:16:40 +0100 (CET)
Message-Id: <20090105141640.8BE8B4AC41@mail.vx.sk>
Date: Mon,  5 Jan 2009 15:16:40 +0100 (CET)
From: Martin Matuska <mm@FreeBSD.org>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] deskutils/ical switch to USE_TCL
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         130188
>Category:       ports
>Synopsis:       [PATCH] deskutils/ical switch to USE_TCL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 05 14:20:01 UTC 2009
>Closed-Date:    Mon Jan 05 15:55:25 UTC 2009
>Last-Modified:  Mon Jan 05 15:55:25 UTC 2009
>Originator:     RebuM
>Release:        FreeBSD 7.1-RELEASE i386/amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE i386/amd64
>Description:
- switch to USE_TCL infrastructure
- add support for tcl85
>How-To-Repeat:
>Fix:
Index: ports/deskutils/ical/Makefile
===================================================================
RCS file: /home/pcvs/ports/deskutils/ical/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- ports/deskutils/ical/Makefile	9 Apr 2008 13:41:58 -0000	1.38
+++ ports/deskutils/ical/Makefile	5 Jan 2009 14:15:54 -0000
@@ -8,25 +8,27 @@
 
 PORTNAME=	ical
 PORTVERSION=	2.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	deskutils tk
 MASTER_SITES=	ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/
 
 MAINTAINER=	obrien@FreeBSD.org
 COMMENT=	A calendar application
 
-LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84
-
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-tclconfig=${PREFIX}/lib/tcl8.4 \
-		--with-tclhdir=${PREFIX}/include/tcl8.4 \
-		--with-tclsh=${PREFIX}/bin/tclsh8.4 \
-		--with-tkconfig=${PREFIX}/lib/tk8.4 \
-		--with-tkhdir=${PREFIX}/include/tk8.4
+
+USE_TK=		84+
+
+.include <bsd.port.pre.mk>
+CONFIGURE_ARGS=	--with-tclconfig=${TCL_LIBDIR} \
+		--with-tclhdir=${TCL_INCLUDEDIR} \
+		--with-tclsh=${TCLSH} \
+		--with-tkconfig=${TK_LIBDIR} \
+		--with-tkhdir=${TK_INCLUDEDIR}
 
 MAN1=		ical.1
 
 post-install:
 	@${STRIP_CMD} ${PREFIX}/bin/${DISTNAME}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 5 14:20:16 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130188 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Mon Jan 5 15:55:14 UTC 2009 
State-Changed-Why:  
committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130188 
>Unformatted:
