Lines 1-33
Link Here
|
1 |
# New ports collection makefile for: synce-rra |
1 |
# New ports collection makefile for: synce-librra |
2 |
# Date created: March 2004 |
2 |
# Date created: Jul 2008 |
3 |
# Whom: Sam Lawrance <boris@brooknet.com.au> |
3 |
# Whom: Ilya Bakulin <webmaster@kibab.com> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/palm/synce-rra/Makefile,v 1.16 2007/03/23 22:02:30 pav Exp $ |
5 |
# $FreeBSD$ |
6 |
|
6 |
|
7 |
PORTNAME= synce-rra |
7 |
PORTNAME= librra |
8 |
PORTVERSION= 0.9.1 |
8 |
PORTVERSION= 0.11.1 |
9 |
CATEGORIES= palm |
9 |
CATEGORIES= palm |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITE_SUBDIR= synce |
11 |
MASTER_SITE_SUBDIR= synce |
|
|
12 |
PKGNAMEPREFIX?= synce- |
12 |
|
13 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= webmaster@kibab.com |
14 |
COMMENT= Remote Replication Agent Connection protocol library |
15 |
COMMENT?= Remote Replication Agent Connection protocol library |
15 |
|
16 |
|
16 |
LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \ |
17 |
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce \ |
17 |
rapi.2:${PORTSDIR}/palm/synce-librapi2 |
18 |
rapi.2:${PORTSDIR}/palm/synce-librapi2 |
18 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir |
19 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir |
19 |
RUN_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir |
20 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
20 |
|
21 |
|
21 |
MAN1= synce-matchmaker.1 |
22 |
OPTIONS?= TOOLS "Build with minor rra command line tools" on \ |
|
|
23 |
RECURR "Enable experimential recurrence support" off |
22 |
|
24 |
|
23 |
USE_ICONV= yes |
25 |
GNU_CONFIGURE= yes |
24 |
USE_AUTOTOOLS= libtool:15 |
26 |
USE_AUTOTOOLS= libtool:15 |
25 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
27 |
USE_ICONV= yes |
26 |
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE} |
28 |
USE_GNOME= gnomehack gnometarget |
|
|
29 |
CONFIGURE_ARGS+= --with-libsynce="${LOCALBASE}" \ |
30 |
--with-libmimedir="${LOCALBASE}" |
31 |
|
27 |
USE_LDCONFIG= yes |
32 |
USE_LDCONFIG= yes |
28 |
|
33 |
|
|
|
34 |
.include <bsd.port.pre.mk> |
35 |
|
36 |
.if defined(RRA_SLAVE) && ${RRA_SLAVE} == "pythonb" |
37 |
# If we're building python bindings, omit building tools |
38 |
CONFIGURE_ARGS+= --enable-python-bindings --disable-minor-tools |
39 |
.else |
40 |
# Not building bindings |
41 |
MAN1= synce-matchmaker.1 |
42 |
CONFIGURE_ARGS+= --disable-python-bindings |
43 |
.if !defined(WITH_TOOLS) |
44 |
CONFIGURE_ARGS+= --disable-minor-tools |
45 |
PLIST_SUB+= TOOLS="@comment " |
46 |
.else |
47 |
MAN1+= rra-appointment-from-vevent.1 \ |
48 |
rra-appointment-to-vevent.1 rra-contact-from-vcard.1 \ |
49 |
rra-contact-to-vcard.1 rra-decode.1 \ |
50 |
rra-delete.1 rra-get-data.1 \ |
51 |
rra-get-ids.1 rra-get-types.1 \ |
52 |
rra-get-recurring-appointments.1 rra-put-data.1 \ |
53 |
rra-subscribe.1 rra-task-from-vtodo.1 \ |
54 |
rra-task-to-vtodo.1 rra-timezone.1 |
55 |
PLIST_SUB+= TOOLS="" |
56 |
.endif |
57 |
|
58 |
.if defined(WITH_RECURR) |
59 |
CONFIGURE_ARGS+= --enable-recurrence |
60 |
.endif |
61 |
.endif |
62 |
|
29 |
post-patch: |
63 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|-Werror||g' \ |
64 |
@${REINPLACE_CMD} -e 's|-Werror||g' \ |
31 |
${WRKSRC}/lib/Makefile.in |
65 |
${WRKSRC}/lib/Makefile.in |
32 |
|
66 |
|
33 |
.include <bsd.port.mk> |
67 |
.include <bsd.port.post.mk> |