1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/deskutils/ical/Makefile
Tobias Kortkamp 1d32e97a18 desktuils/ical: Fix build with Clang 6
- Submitter becomes maintainer
- While here add missing dependencies

http://beefy11.nyi.freebsd.org/data/head-i386-default/p473790_s335878/logs/ical-2.2_4.log

PR:		226799
Reported by:	bob@immure.com
Submitted by:	fbsd@opal.com
2018-07-07 15:35:36 +00:00

39 lines
928 B
Makefile

# Created by: Eric L. Hernes <erich@FreeBSD.org>
# $FreeBSD$
PORTNAME= ical
PORTVERSION= 2.2
PORTREVISION= 5
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= fbsd@opal.com
COMMENT= Calendar application
LICENSE= GPLv2
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= tk
USE_XORG= x11 xext xft xrender xscrnsaver
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>