From a274b094df9a743487dc9055cac92fcc80f44ce7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 25 Feb 2016 14:16:10 +0000 Subject: - Clarify LICENSE - Add LICENSE_FILE - Fix build with disabled NLS --- security/pidgin-otr/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/security/pidgin-otr/Makefile b/security/pidgin-otr/Makefile index 83625eb85721..c0a92a8244e6 100644 --- a/security/pidgin-otr/Makefile +++ b/security/pidgin-otr/Makefile @@ -10,7 +10,8 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Allows deniable private conversations using Pidgin -LICENSE= GPLv2 +LICENSE= GPLv2 # only +LICENSE_FILE= ${WRKSRC}/COPYING # explicitly use libotr.so.5 (see ports/186944) BUILD_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin @@ -19,10 +20,6 @@ LIB_DEPENDS= libotr.so.5:${PORTSDIR}/security/libotr \ libpurple.so:${PORTSDIR}/net-im/libpurple USES= cpe gmake libtool pkgconfig -OPTIONS_DEFINE= NLS -NLS_USES= gettext -OPTIONS_SUB= yes - CPE_VENDOR= cypherpunks CPE_PRODUCT= ${PKGNAMEPREFIX}${PORTNAME} USE_GNOME= gtk20 intltool @@ -34,6 +31,12 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-libotr-prefix=${LOCALBASE}/lib \ --with-libotr-inc-prefix=${LOCALBASE}/include +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_USES_OFF= gettext-tools + .include .if ${OSVERSION} < 1000036 && ${ARCH} == i386 -- cgit v1.2.3