2004-07-24 02:01:19 +02:00
|
|
|
# New ports collection makefile for: xterm
|
|
|
|
# Date created: 24.07.2004
|
|
|
|
# Whom: krion
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xterm
|
2010-07-08 14:05:08 +02:00
|
|
|
PORTVERSION= 261
|
2004-07-24 02:01:19 +02:00
|
|
|
CATEGORIES= x11
|
2004-08-04 10:14:24 +02:00
|
|
|
MASTER_SITES= ftp://invisible-island.net/xterm/ \
|
2005-10-11 14:53:44 +02:00
|
|
|
http://voodoo.bawue.com/download/
|
2004-07-24 02:01:19 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
|
|
COMMENT= Terminal emulator for the X Window System
|
|
|
|
|
2007-12-17 20:35:36 +01:00
|
|
|
BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit
|
|
|
|
|
2007-08-23 15:13:58 +02:00
|
|
|
USE_XORG= xaw xft
|
2004-07-24 02:01:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- 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 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2009-01-08 15:00:00 +01:00
|
|
|
CONFIGURE_ARGS+=--with-utempter --enable-narrowproto
|
|
|
|
|
2009-06-20 22:28:34 +02:00
|
|
|
.if !defined(WITHOUT_WIDE_CHARS)
|
2009-01-08 15:00:00 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-wide-chars --enable-luit
|
|
|
|
.endif
|
2004-07-24 02:01:19 +02:00
|
|
|
|
2007-02-26 22:51:56 +01:00
|
|
|
.if defined(WITH_256_COLOR)
|
|
|
|
CONFIGURE_ARGS+= --enable-256-color
|
|
|
|
.endif
|
|
|
|
|
2010-10-11 22:50:21 +02:00
|
|
|
.if defined(WITH_DEC_LOCATOR)
|
|
|
|
CONFIGURE_ARGS+= --enable-dec-locator
|
|
|
|
.endif
|
|
|
|
|
2008-02-07 17:29:19 +01:00
|
|
|
MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1
|
2004-07-24 02:01:19 +02:00
|
|
|
|
2009-12-06 22:57:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 900004
|
|
|
|
LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
|
|
|
|
.endif
|
|
|
|
|
2004-09-02 09:19:20 +02:00
|
|
|
post-install:
|
2005-11-13 22:05:05 +01:00
|
|
|
@${CHMOD} 4711 ${PREFIX}/bin/xterm
|
2009-06-20 22:28:34 +02:00
|
|
|
.if !defined(WITHOUT_WIDE_CHARS)
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} '********************************************************'
|
|
|
|
@${ECHO_MSG} ' NOTE: you installed xterm with wide chars support.'
|
|
|
|
@${ECHO_MSG} ' This introduces some limitations comparing to the'
|
|
|
|
@${ECHO_MSG} ' plain single chars version: this version of xterm'
|
|
|
|
@${ECHO_MSG} ' will use UTF-8 charset for selection buffers,'
|
|
|
|
@${ECHO_MSG} ' breaking 8-bit copy/paste support unless you are'
|
|
|
|
@${ECHO_MSG} ' using UTF-8 or ISO8859-1 locale. If you want'
|
|
|
|
@${ECHO_MSG} ' 8-bit charset selections to work as before, use'
|
|
|
|
@${ECHO_MSG} ' "eightBitSelectTypes" XTerm resource setting.'
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} ' For further information refer to the SELECT/PASTE'
|
|
|
|
@${ECHO_MSG} ' section of xterm(1) manual page.'
|
|
|
|
@${ECHO_MSG} '********************************************************'
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
2004-09-02 09:19:20 +02:00
|
|
|
|
2009-12-06 22:57:08 +01:00
|
|
|
.include <bsd.port.post.mk>
|