Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 16:42:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421837 - head/deskutils/xchm
Message-ID:  <201609111642.u8BGg3IL070681@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609111642.u8BGg3IL070681>