1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/mail/evolution-mapi/Makefile
Mathieu Arnold a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00

36 lines
964 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= evolution-mapi
PORTVERSION= 3.18.4
CATEGORIES= mail gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Evolution Microsoft Exchange plugin through OpenChange
BUILD_DEPENDS= itstool:textproc/itstool \
evolution>=3.0.0:mail/evolution
LIB_DEPENDS= libmapi.so:mail/libmapi
RUN_DEPENDS= evolution>=3.0.0:mail/evolution
PORTSCOUT= limitw:1,even
USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz
USE_GNOME= intltool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral
CFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
-e 's|$$(prefix)/$$(DATADIRNAME)/|$$(prefix)/share/|g' \
${WRKSRC}/configure
.include <bsd.port.mk>