mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Convert to new options framework
This commit is contained in:
parent
02ba56950a
commit
06576dbdac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300115
@ -22,12 +22,14 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
||||
INFO= gcal
|
||||
#MAN1= gcal.1 gcal2txt.1 tcal.1 txt2gcal.1
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
GCAL_SCRIPTS= daily/daily ddiff/ddiff ddiff/ddiffdrv dst/dst gcalltx/gcalltx \
|
||||
|
@ -27,12 +27,15 @@ MAN1= bison.1
|
||||
INFO= bison
|
||||
|
||||
CONFIGURE_ARGS+=--disable-yacc
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef USE_BISON
|
||||
@ -42,7 +45,7 @@ PLIST_SUB+= NLS=""
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/doc/bison.info*
|
||||
@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
|
||||
.if defined(WITHOUT_NLS)
|
||||
.if empty(${PORT_OPTIONS:MNLS})
|
||||
@${REINPLACE_CMD} 's/ install-exec-local//' ${WRKSRC}/lib/Makefile.in
|
||||
.endif
|
||||
|
||||
|
@ -21,7 +21,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
MAN1= cppi.1
|
||||
|
||||
.ifndef WITHOUT_NLS
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
|
@ -23,7 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS= --program-prefix=g
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
|
@ -27,7 +27,9 @@ MAN1= gawk.1 igawk.1 pgawk.1
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user