2004-03-13 22:44:14 +01:00
|
|
|
# New ports collection makefile for: synce-rra
|
|
|
|
# Date created: March 2004
|
|
|
|
# Whom: Sam Lawrance <boris@brooknet.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
PORTNAME= librra
|
2009-10-12 11:36:24 +02:00
|
|
|
PORTVERSION= 0.14
|
2008-10-12 13:51:12 +02:00
|
|
|
CATEGORIES?= palm
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/synce/SynCE/${PORTVERSION}
|
2008-07-27 15:48:57 +02:00
|
|
|
PKGNAMEPREFIX?= synce-
|
2004-03-13 22:44:14 +01:00
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
MAINTAINER= webmaster@kibab.com
|
|
|
|
COMMENT?= Remote Replication Agent Connection protocol library
|
2004-03-13 22:44:14 +01:00
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce \
|
2004-03-13 22:44:14 +01:00
|
|
|
rapi.2:${PORTSDIR}/palm/synce-librapi2
|
2008-07-27 15:48:57 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
|
2004-03-13 22:44:14 +01:00
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
OPTIONS?= TOOLS "Build with minor rra command line tools" on \
|
|
|
|
RECURR "Enable experimential recurrence support" off
|
2004-03-13 22:44:14 +01:00
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2008-07-27 15:48:57 +02:00
|
|
|
USE_ICONV= yes
|
2006-08-15 02:56:24 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gnomehack
|
2008-07-27 15:48:57 +02:00
|
|
|
CONFIGURE_ARGS+= --with-libsynce="${LOCALBASE}" \
|
|
|
|
--with-libmimedir="${LOCALBASE}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(RRA_SLAVE) && ${RRA_SLAVE} == "pythonb"
|
|
|
|
# If we're building python bindings, omit building tools
|
|
|
|
CONFIGURE_ARGS+= --enable-python-bindings --disable-minor-tools
|
|
|
|
.else
|
|
|
|
# Not building bindings
|
|
|
|
MAN1= synce-matchmaker.1
|
2008-09-07 18:02:08 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-python-bindings
|
|
|
|
.if defined(WITHOUT_TOOLS)
|
2008-07-27 15:48:57 +02:00
|
|
|
PLIST_SUB+= TOOLS="@comment "
|
2008-09-07 18:02:08 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-minor-tools
|
2008-07-27 15:48:57 +02:00
|
|
|
.else
|
|
|
|
MAN1+= rra-appointment-from-vevent.1 \
|
|
|
|
rra-appointment-to-vevent.1 rra-contact-from-vcard.1 \
|
|
|
|
rra-contact-to-vcard.1 rra-decode.1 \
|
|
|
|
rra-delete.1 rra-get-data.1 \
|
|
|
|
rra-get-ids.1 rra-get-types.1 \
|
|
|
|
rra-get-recurring-appointments.1 rra-put-data.1 \
|
|
|
|
rra-subscribe.1 rra-task-from-vtodo.1 \
|
|
|
|
rra-task-to-vtodo.1 rra-timezone.1
|
|
|
|
PLIST_SUB+= TOOLS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_RECURR)
|
|
|
|
CONFIGURE_ARGS+= --enable-recurrence
|
|
|
|
.endif
|
|
|
|
.endif
|
2004-03-13 22:44:14 +01:00
|
|
|
|
2005-01-08 22:39:58 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-Werror||g' \
|
|
|
|
${WRKSRC}/lib/Makefile.in
|
|
|
|
|
2008-07-27 15:48:57 +02:00
|
|
|
.include <bsd.port.post.mk>
|