2013-09-20 23:43:19 +00:00
|
|
|
# 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
|
2001-11-07 20:41:28 +00:00
|
|
|
PORTVERSION= 2.6.4
|
2011-06-20 14:50:18 +00:00
|
|
|
PORTREVISION= 6
|
2001-05-22 18:16:59 +00:00
|
|
|
CATEGORIES+= x11
|
2007-12-29 23:14:09 +00:00
|
|
|
MASTER_SITES= SF
|
2000-05-22 05:09:19 +00:00
|
|
|
|
2011-11-08 15:22:47 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-13 02:01:16 +00:00
|
|
|
COMMENT= Low memory usage xterm replacement that supports color
|
1994-12-05 01:49:10 +00:00
|
|
|
|
2008-03-25 22:44:48 +00:00
|
|
|
USE_XORG= xpm
|
2001-02-14 04:12:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-03 10:21:15 +00:00
|
|
|
|
2014-07-29 20:55:27 +00:00
|
|
|
OPTIONS_DEFINE= BIG5 GB GREEK HALF_SHADOW KANJI MENUBAR NEXT \
|
2012-06-08 15:43:57 +00:00
|
|
|
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
|
2008-08-03 10:21:15 +00:00
|
|
|
|
2012-11-13 01:05:55 +00:00
|
|
|
CONFIGURE_ARGS= --enable-ttygid \
|
2008-08-03 10:21:15 +00:00
|
|
|
--with-xpm --enable-xpm-background \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
--with-xpm-includes=${LOCALBASE}/include/X11 \
|
|
|
|
--with-xpm-library=${LOCALBASE}/lib
|
2014-01-10 09:32:14 +00:00
|
|
|
PLIST_FILES= bin/rxvt man/man1/${PORTNAME}.1.gz
|
1994-12-05 01:49:10 +00:00
|
|
|
|
2014-07-29 20:58:27 +00:00
|
|
|
BIG5_CONFIGURE_ON= --enable-big5
|
|
|
|
GB_CONFIGURE_ON= --enable-gb
|
|
|
|
GREEK_CONFIGURE_ON= --enable-greek
|
|
|
|
# enable half width/height shadows scrollbar
|
|
|
|
HALF_SHADOW_CONFIGURE_ON= --enable-half-shadow
|
|
|
|
KANJI_CONFIGURE_ON= --enable-kanji
|
|
|
|
MENUBAR_CONFIGURE_ON= --enable-menubar
|
|
|
|
NEXT_CONFIGURE_ON= --enable-next-scroll
|
|
|
|
TRANSPARENCY_CONFIGURE_ON= --enable-transparency
|
|
|
|
# make resources checking via XGetDefault()
|
|
|
|
XGETDEFAULT_CONFIGURE_ON= --enable-xgetdefault
|
|
|
|
# XIM (X Input Method) protocol support
|
|
|
|
XIM_CONFIGURE_ON= --enable-xim
|
|
|
|
XTERM_CONFIGURE_ON= --enable-xterm-scroll
|
|
|
|
|
2008-08-03 10:21:15 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-10-25 22:32:34 +00:00
|
|
|
# fails to build with new utmpx
|
2010-03-20 13:31:19 +00:00
|
|
|
.if ${OSVERSION} > 900007
|
2012-11-13 15:40:59 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-utmp --disable-wtmp
|
2012-10-25 22:32:34 +00:00
|
|
|
.else
|
2012-11-13 15:40:59 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-utmp --enable-wtmp
|
2010-03-20 13:31:19 +00:00
|
|
|
.endif
|
|
|
|
|
2009-03-23 21:08:37 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure
|
|
|
|
|
1999-09-02 03:23:54 +00:00
|
|
|
post-install:
|
2014-01-10 09:32:14 +00:00
|
|
|
@${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/rxvt
|
1999-09-02 03:23:54 +00:00
|
|
|
|
2008-08-03 10:21:15 +00:00
|
|
|
.include <bsd.port.post.mk>
|