diff options
author | bapt <bapt@FreeBSD.org> | 2012-10-06 07:30:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-10-06 07:30:57 +0800 |
commit | 78d23d89deeb4ebc126b46dd07035c0aad120b6c (patch) | |
tree | 3e16ac3e5214ab0b5796bb9de6a4cd5eea6119dd /x11 | |
parent | f43b2521c3549d217525898e064df4f551e4af7d (diff) | |
download | freebsd-ports-gnome-78d23d89deeb4ebc126b46dd07035c0aad120b6c.tar.gz freebsd-ports-gnome-78d23d89deeb4ebc126b46dd07035c0aad120b6c.tar.zst freebsd-ports-gnome-78d23d89deeb4ebc126b46dd07035c0aad120b6c.zip |
Convert to new options framework
Diffstat (limited to 'x11')
-rw-r--r-- | x11/rxvt-devel/Makefile | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile index de48cfcaace8..899e43ebdf9b 100644 --- a/x11/rxvt-devel/Makefile +++ b/x11/rxvt-devel/Makefile @@ -1,7 +1,4 @@ -# New ports collection Makefile for: rxvt -# Date created: 5th December 1994 -# Whom: gpalmer@FreeBSD.org -# +# Created by: Gary Palmer <gpalmer@FreeBSD.org> # $FreeBSD$ # # If possible, please consider updating the simple ports/x11-clocks/rclock @@ -22,22 +19,24 @@ USE_PERL5_BUILD=yes USE_XORG= xpm GNU_CONFIGURE= yes -OPTIONS= 256_COLOR "Build with 256-color support" off \ - BIG5 "Build with BIG5 support" off \ - EUCJ "Build with EUC Japanese support" off \ - GB "Build with GB support" off \ - GREEK "Build with greek keyboard support" off \ - KR "Build with EUC Korean support" off \ - LINESPACE "Build with linespace support" off \ - MENUBAR "Build with menubar support" off \ - NEXT "Build with NeXT scrollbar" off \ - RXVT "Build with rxvt scrollbar" off \ - SJIS "Build with Shift JIS support" off \ - SMART "Build with smart resize support" 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= 256_COLOR BIG5 EUCJ GB GREEK KR LINESPACE MENUBAR NEXT RXVT \ + SJIS SMART TRANSPARENCY XIM XTERM +256_COLOR_DESC= Build with 256-color support +BIG5_DESC= Build with BIG5 support +EUCJ_DESC= Build with EUC Japanese support +GB_DESC= Build with GB support +GREEK_DESC= Build with greek keyboard support +KR_DESC= Build with EUC Korean support +LINESPACE_DESC= Build with linespace support +MENUBAR_DESC= Build with menubar support +NEXT_DESC= Build with NeXT scrollbar +RXVT_DESC= Build with rxvt scrollbar +SJIS_DESC= Build with Shift JIS support +SMART_DESC= Build with smart resize support +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-lastlog \ --with-xpm --enable-xpm-background --enable-shared \ @@ -57,82 +56,82 @@ EXTRA_PATCHES+= ${FILESDIR}/utmp_patch-src::logging.c .endif # enable 256 color -.if defined(WITH_256_COLOR) +.if ${PORT_OPTIONS:M256_COLOR} CONFIGURE_ARGS+= --enable-256-color .endif # enable big5 support -.if defined(WITH_BIG5) +.if ${PORT_OPTIONS:MBIG5} CONFIGURE_ARGS+= --with-encoding=big5 --enable-languages .endif # enable euc japanese support -.if defined(WITH_EUCJ) +.if ${PORT_OPTIONS:MEUCJ} CONFIGURE_ARGS+= --with-encoding=eucj --enable-languages .endif # enable gb support -.if defined(WITH_GB) +.if ${PORT_OPTIONS:MGB} CONFIGURE_ARGS+= --with-encoding=gb --enable-languages .endif # enable greek keyboard support -.if defined(WITH_GREEK) +.if ${PORT_OPTIONS:MGREEK} CONFIGURE_ARGS+= --enable-greek .endif # enable euc korean support -.if defined(WITH_KR) +.if ${PORT_OPTIONS:MKR} CONFIGURE_ARGS+= --with-encoding=kr --enable-languages .endif # enable line-spacing -.if defined(WITH_LINESPACE) +.if ${PORT_OPTIONS:MLINESPACE} CONFIGURE_ARGS+= --enable-linespace .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 rxvt style scrollbar -.if defined(WITH_RXVT) +.if ${PORT_OPTIONS:MRXVT} CONFIGURE_ARGS+= --enable-rxvt-scroll .endif # enable shift jis support -.if defined(WITH_SJIS) +.if ${PORT_OPTIONS:MSJIS} CONFIGURE_ARGS+= --with-encoding=sjis --enable-languages .endif # enable smart resize -.if defined(WITH_SMART) +.if ${PORT_OPTIONS:MSMART} CONFIGURE_ARGS+= --enable-smart-resize .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 |