diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-25 21:47:26 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-25 21:47:26 +0800 |
commit | 1c60a4bcb987b4da9e653a2a4edcc23589028ed9 (patch) | |
tree | 07e7c569e9b8e3259bcf1d90d1cfd7d40805d9c0 /textproc | |
parent | 8c07418e0bcc4fe562529357ed95d7b74d185ab2 (diff) | |
download | freebsd-ports-gnome-1c60a4bcb987b4da9e653a2a4edcc23589028ed9.tar.gz freebsd-ports-gnome-1c60a4bcb987b4da9e653a2a4edcc23589028ed9.tar.zst freebsd-ports-gnome-1c60a4bcb987b4da9e653a2a4edcc23589028ed9.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'textproc')
-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> |