- Fix LICENSE

- Add LICENSE_FILE
- Drop unneeded WX_UNICODE
- Switch to USES=localbase
- Actually disable NLS support when NLS option is off
This commit is contained in:
Dmitry Marakasov 2016-09-11 16:42:03 +00:00
parent 12de23673f
commit 04ea759824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421837

View File

@ -10,19 +10,20 @@ MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Windows HTML Help (.chm) viewer for UNIX
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libchm.so:misc/chmlib
GNU_CONFIGURE= yes
USES= localbase
USE_WX= 2.8
WX_CONF_ARGS= absolute
LDFLAGS+= -lpthread
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
GNU_CONFIGURE= yes
USE_WX= 2.8
WX_UNICODE= yes
WX_CONF_ARGS= absolute
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>