freebsd-ports/mail/claws-mail-spamreport/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
969 B
Makefile

# New ports collection makefile for: claws-mail-spamreport
# Date created: 06 April 2007
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= spamreport
PORTVERSION= 0.3.14
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
DISTNAME= spam_report-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= SpamReport plugin for claws-mail
LICENSE= GPLv3
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
BUILD_DEPENDS= claws-mail>=3.7.10:${PORTSDIR}/mail/claws-mail
RUN_DEPENDS= claws-mail>=3.7.10:${PORTSDIR}/mail/claws-mail
USE_GMAKE= yes
USE_XORG= x11
USE_AUTOTOOLS= autoconf
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.include <bsd.port.mk>