ports/130188: [PATCH] deskutils/ical switch to USE_TCL

Martin Matuska mm at FreeBSD.org
Mon Jan 5 14:20:01 UTC 2009


>Number:         130188
>Category:       ports
>Synopsis:       [PATCH] deskutils/ical switch to USE_TCL
>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:   Mon Jan 05 14:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list