mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Convert to OptionsNG
Approved by: gabor (maintainer)
This commit is contained in:
parent
8f8574a088
commit
c256564edc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305383
1 changed files with 6 additions and 5 deletions
|
@ -37,8 +37,9 @@ MAKE_ENV+= BINDIR="${PREFIX}/bin" \
|
||||||
CATDIR="${MANPREFIX}/man/man" \
|
CATDIR="${MANPREFIX}/man/man" \
|
||||||
NLSDIR="${PREFIX}/share/nls"
|
NLSDIR="${PREFIX}/share/nls"
|
||||||
|
|
||||||
OPTIONS= NLS "Compile with NLS support" on \
|
OPTIONS_DEFINE= GNU_COMPAT
|
||||||
GNU_COMPAT "Use GNU regex library (recommended)" on
|
OPTIONS_DEFAULT= GNU_COMPAT
|
||||||
|
GNU_COMPAT_DESC= Use GNU regex library (recommended)
|
||||||
|
|
||||||
CONFLICTS= gnugrep-*
|
CONFLICTS= gnugrep-*
|
||||||
|
|
||||||
|
@ -51,19 +52,19 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
BROKEN= overwrites files installed by dependency
|
BROKEN= overwrites files installed by dependency
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
MAKE_ENV+= WITHOUT_NLS=yes
|
MAKE_ENV+= WITHOUT_NLS=yes
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_GNU_COMPAT)
|
.if !${PORT_OPTIONS:MGNU_COMPAT}
|
||||||
MAKE_ENV+= WITHOUT_GNU_COMPAT=yes
|
MAKE_ENV+= WITHOUT_GNU_COMPAT=yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
.if defined(WITH_NLS)
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
${MKDIR} ${LOCALBASE}/share/nls/gl_ES.ISO8859-1
|
${MKDIR} ${LOCALBASE}/share/nls/gl_ES.ISO8859-1
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue