1 # Created by: gpalmer@FreeBSD.org
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Low memory usage xterm replacement that supports color
16 OPTIONS_DEFINE= BIG5 GB GREEK HALF_SHADOW KANJI MENUBAR NEXT \
17 TRANSPARENCY XGETDEFAULT XIM XTERM
18 BIG5_DESC= Build with BIG5 support
19 GB_DESC= Build with GB support
20 GREEK_DESC= Build with greek keyboard support
21 HALF_SHADOW_DESC= Build with half shadows support
22 KANJI_DESC= Build with Kanji support
23 MENUBAR_DESC= Build with menubar support
24 NEXT_DESC= Build with NeXT scrollbar
25 TRANSPARENCY_DESC= Build with transparency support
26 XGETDEFAULT_DESC= Build with XGetDefault() support
27 XIM_DESC= Build with XIM support
28 XTERM_DESC= Build with Xterm scrollbar
30 CONFIGURE_ARGS= --enable-ttygid \
31 --with-xpm --enable-xpm-background \
32 --with-xpm-includes=${LOCALBASE}/include/X11 \
33 --with-xpm-library=${LOCALBASE}/lib \
34 --disable-utmp --disable-wtmp # fails to build with new utmpx
35 PLIST_FILES= bin/rxvt man/man1/${PORTNAME}.1.gz
37 BIG5_CONFIGURE_ON= --enable-big5
38 GB_CONFIGURE_ON= --enable-gb
39 GREEK_CONFIGURE_ON= --enable-greek
40 # enable half width/height shadows scrollbar
41 HALF_SHADOW_CONFIGURE_ON= --enable-half-shadow
42 KANJI_CONFIGURE_ON= --enable-kanji
43 MENUBAR_CONFIGURE_ON= --enable-menubar
44 NEXT_CONFIGURE_ON= --enable-next-scroll
45 TRANSPARENCY_CONFIGURE_ON= --enable-transparency
46 # make resources checking via XGetDefault()
47 XGETDEFAULT_CONFIGURE_ON= --enable-xgetdefault
48 # XIM (X Input Method) protocol support
49 XIM_CONFIGURE_ON= --enable-xim
50 XTERM_CONFIGURE_ON= --enable-xterm-scroll
53 @${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure
56 @${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/rxvt
58 .include <bsd.port.mk>