aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ical/Makefile
blob: 481eea4fdc00b5af9f65d46c25667d56d0d9da0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Eric L. Hernes <erich@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ical
PORTVERSION=    2.2
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=    Calendar application

LICENSE=    GPLv2

USES=       tk
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tclconfig=${TCL_LIBDIR} \
        --with-tclhdir=${TCL_INCLUDEDIR} \
        --with-tclsh=${TCLSH} \
        --with-tkconfig=${TK_LIBDIR} \
        --with-tkhdir=${TK_INCLUDEDIR}
MAKE_ENV+=  STAGEDIR=${STAGEDIR}

post-patch:
    @${REINPLACE_CMD} -e 's,tcl->result,Tcl_GetStringResult(tcl),' \
        ${WRKSRC}/ical.C

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${DISTNAME}

.include <bsd.port.mk>