svn commit: r434805 - head/textproc/wdiff

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Feb 25 13:47:28 UTC 2017


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 at 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>


More information about the svn-ports-head mailing list