Convert to optionsng

This commit is contained in:
Tilman Keskinoz 2012-06-08 15:43:57 +00:00
parent 2136793444
commit f8d7624f0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298766

View File

@ -19,17 +19,19 @@ COMMENT= A low memory usage xterm replacement that supports color
USE_XORG= xpm
GNU_CONFIGURE= yes
OPTIONS= BIG5 "Build with BIG5 support" off \
GB "Build with GB support" off \
GREEK "Build with greek keyboard support" off \
HALF_SHADOW "Build with half shadows support" off \
KANJI "Build with Kanji support" off \
MENUBAR "Build with menubar support" off \
NEXT "Build with NeXT scrollbar" off \
TRANSPARENCY "Build with transparency support" off \
XGETDEFAULT "Build with XGetDefault() support" off \
XIM "Build with XIM support" off \
XTERM "Build with Xterm scrollbar" off
OPTIONS_DEFINE = BIG5 GB GREEK HALF_SHADOW KANJI MENUBAR NEXT \
TRANSPARENCY XGETDEFAULT XIM XTERM
BIG5_DESC= Build with BIG5 support
GB_DESC= Build with GB support
GREEK_DESC= Build with greek keyboard support
HALF_SHADOW_DESC= Build with half shadows support
KANJI_DESC= Build with Kanji support
MENUBAR_DESC= Build with menubar support
NEXT_DESC= Build with NeXT scrollbar
TRANSPARENCY_DESC= Build with transparency support
XGETDEFAULT_DESC= Build with XGetDefault() support
XIM_DESC= Build with XIM support
XTERM_DESC= Build with Xterm scrollbar
CONFIGURE_ARGS= --enable-utmp --enable-wtmp --enable-ttygid \
--with-xpm --enable-xpm-background \
@ -44,58 +46,50 @@ PLIST_FILES= bin/rxvt
BROKEN= fails to build with new utmpx
.endif
# enable big5 support
.if defined(WITH_BIG5)
.if ${PORT_OPTIONS:MBIG5}
CONFIGURE_ARGS+= --enable-big5
.endif
# enable gb support
.if defined(WITH_GB)
.if ${PORT_OPTIONS:MGB}
CONFIGURE_ARGS+= --enable-gb
.endif
# enable greek keyboard support
.if defined(WITH_GREEK)
.if ${PORT_OPTIONS:MGREEK}
CONFIGURE_ARGS+= --enable-greek
.endif
# enable half width/height shadows scrollbar
.if defined(WITH_HALF_SHADOW)
.if ${PORT_OPTIONS:MHALF_SHADOW}
CONFIGURE_ARGS+= --enable-half-shadow
.endif
# enable kanji support
.if defined(WITH_KANJI)
.if ${PORT_OPTIONS:MKANJI}
CONFIGURE_ARGS+= --enable-kanji
.endif
# enable menubar
.if defined(WITH_MENUBAR)
.if ${PORT_OPTIONS:MMENUBAR}
CONFIGURE_ARGS+= --enable-menubar
.endif
# enable NeXT style scrollbar
.if defined(WITH_NEXT)
.if ${PORT_OPTIONS:MNEXT}
CONFIGURE_ARGS+= --enable-next-scroll
.endif
# enable transparency support
.if defined(WITH_TRANSPARENCY)
.if ${PORT_OPTIONS:MTRANSPARENCY}
CONFIGURE_ARGS+= --enable-transparency
.endif
# make resources checking via XGetDefault()
.if defined(WITH_XGETDEFAULT)
.if ${PORT_OPTIONS:MXGETDEFAULT}
CONFIGURE_ARGS+= --enable-xgetdefault
.endif
# XIM (X Input Method) protocol support
.if defined(WITH_XIM)
.if ${PORT_OPTIONS:MXIM}
CONFIGURE_ARGS+= --enable-xim
.endif
# enable Xterm style scrollbar
.if defined(WITH_XTERM)
.if ${PORT_OPTIONS:MXTERM}
CONFIGURE_ARGS+= --enable-xterm-scroll
.endif