1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/rxvt/Makefile

99 lines
2.3 KiB
Makefile
Raw Normal View History

# Created by: gpalmer@FreeBSD.org
1999-08-31 02:51:23 +00:00
# $FreeBSD$
1994-12-05 01:49:10 +00:00
2000-04-13 19:19:05 +00:00
PORTNAME= rxvt
PORTVERSION= 2.6.4
PORTREVISION= 6
CATEGORIES+= x11
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Low memory usage xterm replacement that supports color
1994-12-05 01:49:10 +00:00
USE_XORG= xpm
2001-02-14 04:12:50 +00:00
GNU_CONFIGURE= yes
2012-06-08 15:43:57 +00:00
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-ttygid \
--with-xpm --enable-xpm-background \
--with-xpm-includes=${LOCALBASE}/include/X11 \
--with-xpm-library=${LOCALBASE}/lib
PLIST_FILES= bin/rxvt man/man1/${PORTNAME}.1.gz
1994-12-05 01:49:10 +00:00
.include <bsd.port.pre.mk>
# fails to build with new utmpx
.if ${OSVERSION} > 900007
CONFIGURE_ARGS+= --disable-utmp --disable-wtmp
.else
CONFIGURE_ARGS+= --enable-utmp --enable-wtmp
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MBIG5}
CONFIGURE_ARGS+= --enable-big5
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MGB}
CONFIGURE_ARGS+= --enable-gb
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MGREEK}
CONFIGURE_ARGS+= --enable-greek
.endif
# enable half width/height shadows scrollbar
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MHALF_SHADOW}
CONFIGURE_ARGS+= --enable-half-shadow
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MKANJI}
CONFIGURE_ARGS+= --enable-kanji
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MMENUBAR}
CONFIGURE_ARGS+= --enable-menubar
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MNEXT}
CONFIGURE_ARGS+= --enable-next-scroll
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MTRANSPARENCY}
CONFIGURE_ARGS+= --enable-transparency
.endif
# make resources checking via XGetDefault()
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MXGETDEFAULT}
CONFIGURE_ARGS+= --enable-xgetdefault
.endif
# XIM (X Input Method) protocol support
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MXIM}
CONFIGURE_ARGS+= --enable-xim
.endif
2012-06-08 15:43:57 +00:00
.if ${PORT_OPTIONS:MXTERM}
CONFIGURE_ARGS+= --enable-xterm-scroll
.endif
post-patch:
@${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure
post-install:
@${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/rxvt
.include <bsd.port.post.mk>