Tweak x11/cinnamon-menus version 2.4.1
[dports.git] / x11 / rxvt / Makefile
1 # Created by: gpalmer@FreeBSD.org
2 # $FreeBSD$
3
4 PORTNAME=       rxvt
5 PORTVERSION=    2.6.4
6 PORTREVISION=   6
7 CATEGORIES+=    x11
8 MASTER_SITES=   SF
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Low memory usage xterm replacement that supports color
12
13 USE_XORG=       xpm
14 GNU_CONFIGURE=  yes
15
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
29
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
36
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
51
52 post-patch:
53         @${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure
54
55 post-install:
56         @${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/rxvt
57
58 .include <bsd.port.mk>