freebsd-ports/mail/evolution-mapi/Makefile
Baptiste Daroussin 3fee911366 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-13 23:36:40 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/mail/evolution-mapi/Makefile,v 1.23 2010/11/16 09:58:56 kwm Exp $
PORTNAME= evolution-mapi
PORTVERSION= 0.32.2
PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Evolution plugin to connect to Microsoft Exchange servers
BUILD_DEPENDS= ${PKGFILES}:${PORTSDIR}/mail/evolution
LIB_DEPENDS= libmapi.so:${PORTSDIR}/mail/libmapi
RUN_DEPENDS= ${PKGFILES}:${PORTSDIR}/mail/evolution
PKGFILES= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc
IGNORE= doesn't build with current libmapi
USES= gettext tar:bzip2 gmake
USE_GNOME= evolutiondataserver
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
EVO_VERSION= 2.32
EDS_VERSION= 1.2
PLIST_SUB= EVO_VERSION=${EVO_VERSION} EDS_VERSION=${EDS_VERSION}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/src/libexchangemapi/Makefile.in
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>