aboutsummaryrefslogtreecommitdiff
path: root/comms/libsyncml/Makefile
blob: 15e0859256e928badcda56cf59c22041bfd7881a (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
39
# New ports collection makefile for:	libsyncml
# Date created:		2008-03-09
# Whom:			Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#

PORTNAME=	libsyncml
PORTVERSION=	0.4.5
PORTREVISION=	3
CATEGORIES=	comms
MASTER_SITES=	http://libsyncml.opensync.org/download/releases/${PORTVERSION}/ \
		http://mirror.roe.ch/dist/${PORTNAME}/

MAINTAINER=	samm@os2.kiev.ua
COMMENT=	SyncML protocol library for PIM data synchronization

LIB_DEPENDS=	wbxml2:${PORTSDIR}/textproc/wbxml2 \
		openobex:${PORTSDIR}/comms/openobex \
		soup-2.2.8:${PORTSDIR}/devel/libsoup22

USE_AUTOTOOLS=	autoheader automake libtool
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GNOME=	glib20 libxml2
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--enable-bluetooth --enable-obex --with-wbxml=${LOCALBASE}

MAN1=		syncml-http-server.1 syncml-obex-client.1

post-patch:
	@${REINPLACE_CMD} \
		-e 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \
		${WRKSRC}/Makefile.am

pre-configure:
	@cd ${WRKSRC}; ${ACLOCAL}

.include <bsd.port.mk>