- Fix LICENSE
- Add LICENSE_FILE - Switch to options helpers
This commit is contained in:
parent
f2adfab6d7
commit
c247f6d80c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434805
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user