aboutsummaryrefslogtreecommitdiffstats
path: root/palm/synce-librra/Makefile
blob: f4431269b40a76b678d3406c9a1b367beda4dacc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:   synce-rra
# Date created:                March 2004
# Whom:                        Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$

PORTNAME=   synce-rra
PORTVERSION=    0.8.9
CATEGORIES= palm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce

PATCH_SITES=    http://sam.stral.net/freebsd/
PATCHFILES= librra-synce-kde-0.7-freebsd.diff

MAINTAINER= boris@brooknet.com.au
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

MAN1=       synce-matchmaker.1

USE_ICONV=  yes
USE_LIBTOOL_VER=13
USE_REINPLACE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=    --with-libsynce=${LOCALBASE}
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
        ${WRKSRC}/lib/generator.h ${WRKSRC}/lib/recurrence_internal.h \
        ${WRKSRC}/lib/rrac.h

.include <bsd.port.mk>