Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2017 13:47:27 +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: r434805 - head/textproc/wdiff
Message-ID:  <201702251347.v1PDlRoW064315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Feb 25 13:47:26 2017
New Revision: 434805
URL: https://svnweb.freebsd.org/changeset/ports/434805

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/textproc/wdiff/Makefile

Modified: head/textproc/wdiff/Makefile
==============================================================================
--- head/textproc/wdiff/Makefile	Sat Feb 25 13:46:48 2017	(r434804)
+++ head/textproc/wdiff/Makefile	Sat Feb 25 13:47:26 2017	(r434805)
@@ -10,25 +10,19 @@ MASTER_SITES=	GNU
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Display word differences between text files
 
-LICENSE=	GPLv3
-
-GNU_CONFIGURE=	yes
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		charsetfix makeinfo
-
-OPTIONS_DEFINE=	NLS
+GNU_CONFIGURE=	yes
 
 INFO=		wdiff
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CFLAGS+=	-I${LOCALBASE}/include
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_CONFIGURE_ENABLE=	nls
+NLS_CFLAGS=		-isystem${LOCALBASE}/include
+NLS_USES=		gettext
 
 .include <bsd.port.mk>



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