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

41 lines
844 B
Makefile

# New ports collection makefile for: claws-mail-python
# Date created: 27 November 2009
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= python
PORTVERSION= 0.8
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
DISTNAME= python_plugin-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Python plugin for claws-mail
LICENSE= GPLv3
BUILD_DEPENDS= claws-mail>=3.7.10:${PORTSDIR}/mail/claws-mail
RUN_DEPENDS= claws-mail>=3.7.10:${PORTSDIR}/mail/claws-mail
USE_GNOME= pygtk2
USE_GMAKE= yes
USE_XORG= x11
USE_AUTOTOOLS= autoconf
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.include <bsd.port.mk>