aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/libopensync-plugin-evolution2-devel/Makefile
blob: 202441c77e31da83b4b9c76a0b6c8a74ce779ea6 (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
# New ports collection makefile for:    libopensync-plugin-evolution2
# Date created:             18 July 2008
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   libopensync-plugin-evolution2
PORTVERSION=    0.36
CATEGORIES= deskutils
MASTER_SITES=   http://www.opensync.org/download/releases/${PORTVERSION}/
PKGNAMESUFFIX=  -devel

MAINTAINER= ports@logvinov.com
COMMENT=    Evolution 2 plugin for the OpenSync framework

LIB_DEPENDS=    opensync.1:${PORTSDIR}/devel/libopensync \
        vconvert:${PORTSDIR}/deskutils/libopensync-plugin-vformat-devel

CONFLICTS=  libopensync-plugin-evolution2-0.2*

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_GNOME=  evolutiondataserver gconf2

CMAKE_ARGS+=    -Wno-dev

pre-patch:
        @${REINPLACE_CMD} -e "/FIND_PACKAGE( Check )/d" ${WRKSRC}/CMakeLists.txt
        @${REINPLACE_CMD} -e "s|MESSAGE|# MESSAGE|" \
        ${WRKSRC}/cmake/modules/MacroEnsureOutOfSourceBuild.cmake

.include <bsd.port.mk>