aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-06 22:04:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-06 22:04:58 +0000
commit3e8ef67ee1ab2927f301d1d65ff96f5e967f1420 (patch)
treeca963df020e63a63a2edb337017387273aabfd4f /palm
parentf26dbaf7bd09a540cc6028ccd760c4476f9876c0 (diff)
downloadports-3e8ef67ee1ab2927f301d1d65ff96f5e967f1420.tar.gz
ports-3e8ef67ee1ab2927f301d1d65ff96f5e967f1420.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/synce-librra/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/palm/synce-librra/Makefile b/palm/synce-librra/Makefile
index 349655823c5e..393525f672d4 100644
--- a/palm/synce-librra/Makefile
+++ b/palm/synce-librra/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: synce-rra
-# Date created: March 2004
-# Whom: Sam Lawrance <boris@brooknet.com.au>
-#
+# Created by: Sam Lawrance <boris@brooknet.com.au>
# $FreeBSD$
PORTNAME= librra
@@ -18,8 +15,10 @@ LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce \
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
RUN_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
-OPTIONS?= TOOLS "Build with minor rra command line tools" on \
- RECURR "Enable experimential recurrence support" off
+OPTIONS_DEFINE= TOOLS RECURR
+OPTIONS_DEFAULT= TOOLS
+TOOLS_DESC= Build with minor rra command line tools
+RECURR_DESC= Enable experimential recurrence support
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
@@ -28,7 +27,7 @@ USES= pathfix iconv
CONFIGURE_ARGS+= --with-libsynce="${LOCALBASE}" \
--with-libmimedir="${LOCALBASE}"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(RRA_SLAVE) && ${RRA_SLAVE} == "pythonb"
# If we're building python bindings, omit building tools
@@ -37,7 +36,7 @@ CONFIGURE_ARGS+= --enable-python-bindings --disable-minor-tools
# Not building bindings
MAN1= synce-matchmaker.1
CONFIGURE_ARGS+= --disable-python-bindings
-.if defined(WITHOUT_TOOLS)
+.if ! ${PORT_OPTIONS:MTOOLS}
PLIST_SUB+= TOOLS="@comment "
CONFIGURE_ARGS+= --disable-minor-tools
.else
@@ -52,7 +51,7 @@ MAN1+= rra-appointment-from-vevent.1 \
PLIST_SUB+= TOOLS=""
.endif
-.if defined(WITH_RECURR)
+.if ${PORT_OPTIONS:MRECURR}
CONFIGURE_ARGS+= --enable-recurrence
.endif
.endif
@@ -61,4 +60,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/lib/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>