aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xterm/Makefile
blob: dff20759191fbc075e8755267b2c512ab262e4f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    xterm
# Date created:             24.07.2004
# Whom:                 krion
#
# $FreeBSD$
#

PORTNAME=   xterm
PORTVERSION=    242
CATEGORIES= x11
MASTER_SITES=   ftp://invisible-island.net/xterm/ \
        http://voodoo.bawue.com/download/
EXTRACT_SUFX=   .tgz

MAINTAINER= krion@FreeBSD.org
COMMENT=    Terminal emulator for the X Window System

BUILD_DEPENDS=  luit:${PORTSDIR}/x11/luit
LIB_DEPENDS=    utempter.0:${PORTSDIR}/sysutils/libutempter

USE_XORG=   xaw xft
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--with-utempter --enable-narrowproto

.if defined(WITH_WIDE_CHARS)
CONFIGURE_ARGS+=    --enable-wide-chars --enable-luit
.endif

.if defined(WITH_256_COLOR)
CONFIGURE_ARGS+=    --enable-256-color
.endif

MAN1=       resize.1 koi8rxterm.1 uxterm.1 xterm.1

post-install:
    @${CHMOD} 4711 ${PREFIX}/bin/xterm

.include <bsd.port.mk>