freebsd-ports/palm/synce-librra/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

65 lines
1.9 KiB
Makefile

# New ports collection makefile for: synce-rra
# Date created: March 2004
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
PORTNAME= librra
PORTVERSION= 0.13
CATEGORIES?= palm
MASTER_SITES= SF/synce
PKGNAMEPREFIX?= synce-
MAINTAINER= webmaster@kibab.com
COMMENT?= Remote Replication Agent Connection protocol library
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
OPTIONS?= TOOLS "Build with minor rra command line tools" on \
RECURR "Enable experimential recurrence support" off
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:22
USE_ICONV= yes
USE_LDCONFIG= 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-python-bindings
.if defined(WITHOUT_TOOLS)
PLIST_SUB+= TOOLS="@comment "
CONFIGURE_ARGS+= --disable-minor-tools
.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.post.mk>