diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-02-25 13:47:26 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-02-25 13:47:26 +0000 |
commit | c247f6d80caff77403afaaaa7a05505a514e5727 (patch) | |
tree | 07e7c569e9b8e3259bcf1d90d1cfd7d40805d9c0 /textproc/wdiff | |
parent | f2adfab6d790a546c84bfee0642869ab0b549ccf (diff) | |
download | ports-c247f6d80caff77403afaaaa7a05505a514e5727.tar.gz ports-c247f6d80caff77403afaaaa7a05505a514e5727.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=434805
Diffstat (limited to 'textproc/wdiff')
-rw-r--r-- | textproc/wdiff/Makefile | 22 |
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> |