1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/devel/libical/Makefile

39 lines
756 B
Makefile

# Created by: Joe Kelsey
# $FreeBSD$
PORTNAME= libical
PORTVERSION= 0.48
CATEGORIES= devel
MASTER_SITES= SF/freeassociation/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= An implementation of the IETF Calendaring and Scheduling protocols
USES= gmake perl5
USE_PERL5= build
USE_GNOME= gnomehack ltverhack
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= PYTHON
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
CONFIGURE_ARGS= --enable-python=yes
USE_PYTHON= yes
.else
CONFIGURE_ARGS= --enable-python=no
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>