- Fix LICENSE

- Add LICENSE_FILE
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-25 13:47:26 +00:00
parent f2adfab6d7
commit c247f6d80c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434805

View File

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