aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ical
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-08-12 22:40:33 +0800
committerdanfe <danfe@FreeBSD.org>2013-08-12 22:40:33 +0800
commitb8c9bcab82afb8862db3b12ac20734e310b9ad99 (patch)
treebc8fd2bf2d3a7eee6f30c084ea725219ea2052ff /deskutils/ical
parent128a670eee05ae2acc0784f4da4d94be0a415ee9 (diff)
downloadfreebsd-ports-gnome-b8c9bcab82afb8862db3b12ac20734e310b9ad99.tar.gz
freebsd-ports-gnome-b8c9bcab82afb8862db3b12ac20734e310b9ad99.tar.zst
freebsd-ports-gnome-b8c9bcab82afb8862db3b12ac20734e310b9ad99.zip
- Trim Makefile header down to two lines per recent agreements
- Remove indefinite article from COMMENT (per PH section 5.6) - Drop conditional knobs assignments: the port is not anyone's master - Relax Tcl/Tk version requirement by properly supporting 86+ - Define LICENSE while here (GPLv2), bump PORTREVISION
Diffstat (limited to 'deskutils/ical')
-rw-r--r--deskutils/ical/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/deskutils/ical/Makefile b/deskutils/ical/Makefile
index 145929e93b82..7e44a489999b 100644
--- a/deskutils/ical/Makefile
+++ b/deskutils/ical/Makefile
@@ -1,25 +1,21 @@
-# ex:ts=8
-# New ports collection makefile for: ical
-# Date created: Mon Aug 28 13:35:31 CDT 1995
-# Whom: erich@rrnet.com
-#
+# Created by: Eric L. Hernes <erich@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= ical
PORTVERSION= 2.2
-PORTREVISION= 3
-CATEGORIES?= deskutils tk
+PORTREVISION= 4
+CATEGORIES= deskutils tk
MASTER_SITES= ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/
PATCH_SITES= http://www.isi.edu/~johnh/SOFTWARE/ICAL/
PATCHFILES= ical-2.3.1-upvar.patch
-MAINTAINER?= obrien@FreeBSD.org
-COMMENT?= A calendar application
+MAINTAINER= obrien@FreeBSD.org
+COMMENT= Calendar application
-USE_TK?= 85
+LICENSE= GPLv2
+USE_TK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclconfig=${TCL_LIBDIR} \
--with-tclhdir=${TCL_INCLUDEDIR} \
@@ -29,6 +25,10 @@ CONFIGURE_ARGS= --with-tclconfig=${TCL_LIBDIR} \
MAN1= ical.1
+post-patch:
+ @${REINPLACE_CMD} -e 's,tcl->result,Tcl_GetStringResult(tcl),' \
+ ${WRKSRC}/ical.C
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/${DISTNAME}