svn commit: r421837 - head/deskutils/xchm

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Sep 11 16:42:04 UTC 2016


Author: amdmi3
Date: Sun Sep 11 16:42:03 2016
New Revision: 421837
URL: https://svnweb.freebsd.org/changeset/ports/421837

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Drop unneeded WX_UNICODE
  - Switch to USES=localbase
  - Actually disable NLS support when NLS option is off

Modified:
  head/deskutils/xchm/Makefile

Modified: head/deskutils/xchm/Makefile
==============================================================================
--- head/deskutils/xchm/Makefile	Sun Sep 11 16:40:59 2016	(r421836)
+++ head/deskutils/xchm/Makefile	Sun Sep 11 16:42:03 2016	(r421837)
@@ -10,19 +10,20 @@ MASTER_SITES=	SF/${PORTNAME}/xCHM/${PORT
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Windows HTML Help (.chm) viewer for UNIX
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libchm.so:misc/chmlib
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
-NLS_USES=	gettext
-
 GNU_CONFIGURE=	yes
+USES=		localbase
 USE_WX=		2.8
-WX_UNICODE=	yes
 WX_CONF_ARGS=	absolute
-LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
-CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread
+
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list