1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

- Clarify LICENSE

- Add LICENSE_FILE
- Fix build with disabled NLS
This commit is contained in:
Dmitry Marakasov 2016-02-25 14:16:10 +00:00
parent e36fc841c7
commit a274b094df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409519

View File

@ -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 <bsd.port.options.mk>
.if ${OSVERSION} < 1000036 && ${ARCH} == i386