aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libical/Makefile
blob: 968eb1309f22a524fb25dd37b4230760ba5f29f9 (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
35
36
37
38
# 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>