mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Convert to OPTIONSng
This commit is contained in:
parent
b32b020217
commit
37511bb87c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313861
1 changed files with 6 additions and 5 deletions
|
@ -66,18 +66,19 @@ NOCCACHE= yes
|
||||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.else
|
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \
|
${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \
|
||||||
${WRKSRC}/lily/include/includable-lexer.hh
|
${WRKSRC}/lily/include/includable-lexer.hh
|
||||||
.if defined(WITHOUT_NLS)
|
.if empty(${PORT_OPTIONS:MNLS})
|
||||||
${REINPLACE_CMD} -e '/^PO_FILES/s|= |= #|' ${WRKSRC}/${MAKEFILE}
|
${REINPLACE_CMD} -e '/^PO_FILES/s|= |= #|' ${WRKSRC}/${MAKEFILE}.in
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue