aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/wdiff/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/textproc/wdiff/Makefile b/textproc/wdiff/Makefile
index 576123ce542c..545675e19494 100644
--- a/textproc/wdiff/Makefile
+++ b/textproc/wdiff/Makefile
@@ -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>