aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wterm/Makefile
blob: 055096037bd27d9cbcff434733e6aa8eead32865 (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
41
42
43
44
# New ports collection makefile for:   wterm
# Date created:     25 February 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wterm
PORTVERSION=    6.2.9
PORTREVISION=   5
CATEGORIES= x11
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}.tar.gz

MAINTAINER= adam-ports@blacktabby.org
COMMENT=    A color vt102 terminal emulator with transparency support

BUILD_DEPENDS=  ${LOCALBASE}/lib/libWINGs.a:${PORTSDIR}/x11-wm/windowmaker

USE_XORG=   xpm
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-transparency --enable-xpm-background \
        --disable-delete-key --disable-backspace-key \
        --enable-next-scrollbar --enable-utmp --enable-wtmp \
        --enable-menubar --enable-graphics --with-term=xterm-color \
        --with-xpm-includes=${LOCALBASE} --with-xpm-library=${LOCALBASE}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/WINGs"

MAN1=       wterm.1
PLIST_FILES=    bin/wterm

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=     fails to build with new utmpx
.endif

post-extract:
    ${RM} -f ${WRKSRC}/config.cache
    ${RM} -f ${WRKSRC}/src/*.o

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

.include <bsd.port.post.mk>