aboutsummaryrefslogtreecommitdiff
path: root/palm/synce-librra/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-27 13:48:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-27 13:48:57 +0000
commitda85c24e46ab91312d444e13bde56133265657b4 (patch)
tree6c959e22528a577f37fd9eb53e52f7ad3051c328 /palm/synce-librra/Makefile
parentffaa1bfe8a9a5c076f0cf6e5c434d0a5285aae2d (diff)
downloadports-da85c24e46ab91312d444e13bde56133265657b4.tar.gz
ports-da85c24e46ab91312d444e13bde56133265657b4.zip
Notes
Diffstat (limited to 'palm/synce-librra/Makefile')
-rw-r--r--palm/synce-librra/Makefile60
1 files changed, 46 insertions, 14 deletions
diff --git a/palm/synce-librra/Makefile b/palm/synce-librra/Makefile
index 472af7a49afc..e80078e7983c 100644
--- a/palm/synce-librra/Makefile
+++ b/palm/synce-librra/Makefile
@@ -4,30 +4,62 @@
#
# $FreeBSD$
-PORTNAME= synce-rra
-PORTVERSION= 0.9.1
+PORTNAME= librra
+PORTVERSION= 0.12
CATEGORIES= palm
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= synce
+MASTER_SITES= SF/synce
+PKGNAMEPREFIX?= synce-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Remote Replication Agent Connection protocol library
+MAINTAINER= webmaster@kibab.com
+COMMENT?= Remote Replication Agent Connection protocol library
-LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
+LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce \
rapi.2:${PORTSDIR}/palm/synce-librapi2
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
-RUN_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
+RUN_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
-MAN1= synce-matchmaker.1
+OPTIONS?= TOOLS "Build with minor rra command line tools" on \
+ RECURR "Enable experimential recurrence support" off
-USE_ICONV= yes
+GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
+USE_ICONV= yes
USE_LDCONFIG= yes
+USE_ICONV= yes
+USE_GNOME= gnomehack gnometarget
+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
+CONFIGURE_ARGS+= --disable-minor-tools
+.if !defined(WITHOUT_TOOLS)
+PLIST_SUB+= TOOLS="@comment "
+.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
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/lib/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>