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