summaryrefslogtreecommitdiffstats
path: root/deskutils/evolution-jescs/Makefile
blob: a3539f4b4b68df2c92932f802d466d366f31b354 (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:    evolution-jescs
# Date created:             08 September 2005
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   jescs
PORTVERSION=    2.4.1
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PKGNAMEPREFIX}${PORTNAME}/2.4
PKGNAMEPREFIX=  evolution-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Sun Java Enterprise System Calendar Server provider for Evolution

BUILD_DEPENDS=  evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution
RUN_DEPENDS=    evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution

USE_X_PREFIX=   yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_PERL=   yes
USE_GNOME=  gnomeprefix gnomehack intlhack gnometarget
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

EVO_VERSION=    2.4
PLIST_SUB=  EVO_VERSION=${EVO_VERSION} EDS_VERSION="1.2" VERSION="2.4"

post-patch:
    @${REINPLACE_CMD} -e 's|libdir/bonobo/servers|prefix/libdata/bonobo/servers|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>