summaryrefslogblamecommitdiffstats
path: root/deskutils/evolution-jescs/Makefile
blob: db51d88743b1162707c9d1de53c7f9bc67b07f96 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                              
           
                                                                                          


                     
                     

                                    
                                                                                                    











                                                                                 
                   













                                                                                        
# New ports collection makefile for:    evolution-jescs
# Date created:             08 September 2005
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/deskutils/evolution-jescs/Makefile,v 1.8 2006/04/09 23:28:35 marcus Exp $
#

PORTNAME=   jescs
PORTVERSION=    2.5.3
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
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_GETTEXT=    yes
USE_PERL=   yes
USE_GNOME=  gnomeprefix gnomehack intlhack gnometarget
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

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

.include <bsd.port.mk>