2012-12-10 18:27:47 +01:00
|
|
|
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
2011-12-17 17:08:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gdata
|
2012-12-10 18:27:47 +01:00
|
|
|
PORTVERSION= 0.5
|
2011-12-17 17:08:51 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
|
|
|
|
PKGNAMEPREFIX= claws-mail-
|
|
|
|
DISTNAME= ${PORTNAME}_plugin-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
|
|
COMMENT= Plugin providing Google Contacts in the Tab-address completion
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2012-12-10 18:27:47 +01:00
|
|
|
BUILD_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail
|
2011-12-17 17:08:51 +01:00
|
|
|
LIB_DEPENDS= gdata:${PORTSDIR}/devel/libgdata
|
2012-12-10 18:27:47 +01:00
|
|
|
RUN_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail
|
2011-12-17 17:08:51 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_ICONV= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
|
2012-06-08 00:44:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2011-12-17 17:08:51 +01:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2012-06-08 00:44:21 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2011-12-17 17:08:51 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|