summaryrefslogtreecommitdiffstats
path: root/palm/synce-vdccm/Makefile
blob: 7e90116395a1b7ab55195bd5c010082d36d831e7 (plain)
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
40
41
42
43
44
# Created by: Sam Lawrance <boris@brooknet.com.au>
# $FreeBSD$

PORTNAME=	vdccm
PORTVERSION=	0.10.1
CATEGORIES=	palm
MASTER_SITES=	SF/synce/SynCE/${PORTVERSION}
PKGNAMEPREFIX=	synce-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Listener daemon for connections from WinCE devices

LIB_DEPENDS=	synce.0:${PORTSDIR}/palm/synce-libsynce

OPTIONS_DEFINE=	DESKTOP
OPTIONS_DEFAULT=	DESKTOP
DESKTOP_DESC=	Desktop integration


GNU_CONFIGURE=	yes
WANT_GNOME=	yes
USES=		iconv
CONFIGURE_ARGS=	--with-libiconv=${LOCALBASE} \
		--with-libsynce=${LOCALBASE}

MAN1=		triggerconnection.1 ${PORTNAME}.1
PLIST_FILES=	bin/triggerconnection bin/${PORTNAME}

.include <bsd.port.pre.mk>

.if ${ARCH} == "powerpc"
BROKEN=		Does not compile on powerpc
.endif

.if ${PORT_OPTIONS:MDESKTOP}
CONFIGURE_ARGS+=	--enable-desktop-integration=yes
LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
		hal.1:${PORTSDIR}/sysutils/hal
USE_GNOME+=	glib20
.else
CONFIGURE_ARGS+=	--enable-desktop-integration=no
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud