aboutsummaryrefslogtreecommitdiff
path: root/devel/libopensync022/Makefile
blob: b204ac6d1ff4c766b0b5187a6e94c5259769bcd1 (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
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libopensync
PORTVERSION=	0.22
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	http://www.opensync.org/download/releases/${PORTVERSION}/
PKGNAMESUFFIX=	022

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Freedesktop synchronization framework

LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3

SWIG_LANGUAGES=	python
USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_PYTHON=	yes
USES=		pathfix pkgconfig
USE_GNOME=	glib20 libxml2
USE_LDCONFIG=	yes

CONFLICTS=	libopensync-0.[3-9]*

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} \
	    -e 's|-Werror||g'
	@${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
		${WRKSRC}/Makefile.in
	${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure

.include <bsd.port.mk>