- Switch to options helpers
This commit is contained in:
parent
5ea3b82850
commit
467b62000c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394971
@ -25,20 +25,15 @@ OPTIONS_SUB= yes
|
||||
|
||||
WORDVIEW_DESC= Build Tcl/Tk document viewer
|
||||
|
||||
WORDVIEW_USES= tk
|
||||
WORDVIEW_CONFIGURE_ON= --with-wish=${WISH}
|
||||
WORDVIEW_CONFIGURE_OFF= --disable-wordview
|
||||
|
||||
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
|
||||
# Remove the below line to get Cyrillic code page support instead
|
||||
CFLAGS+= -DLATIN1=1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MWORDVIEW}
|
||||
USES+= tk
|
||||
CONFIGURE_ARGS+= --with-wish=${WISH}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-wordview
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user