summaryrefslogtreecommitdiffstats
path: root/x11/aterm/Makefile
blob: 42a6ff580630f3b806c19145bb24663b18e77f06 (plain)
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
45
46
47
48
49
50
51
52
53
# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$

PORTNAME=	aterm
PORTVERSION=	1.0.1
PORTREVISION=	7
CATEGORIES=	x11
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Color vt102 terminal emulator with transparency support

MAKE_JOBS_UNSAFE= yes

USE_XORG=	xpm
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --enable-wtmp \
		--enable-xgetdefault \
		--disable-memset \
		--disable-swapscreen \
		--disable-thai \
		--without-afterstep-config \
		--disable-utmp

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	TRANS BSDEL MOUSE BGIMG KANJI BIG5S GREEK
OPTIONS_DEFAULT=	TRANS BSDEL MOUSE
TRANS_DESC=	Transparency support
BSDEL_DESC=	BSD-style backspace and delete
BGIMG_DESC=	XPM, JPEG, PNG backgrounds
KANJI_DESC=	Kanji (EUC-JP or SJIS) support
BIG5S_DESC=	Chinese character (BIG5) support
GREEK_DESC=	Greek keyboard support

PLIST_FILES=	bin/aterm \
		man/man1/aterm.1.gz

TRANS_CONFIGURE_ENABLE=	transparency
BSDEL_CONFIGURE_OFF=	--disable-backspace-key --disable-delete-key
BSDEL_CONFIGURE_ON=	--enable-backspace-key --enable-delete-key
MOUSE_CONFIGURE_ENABLE=	mousewheel
BGIMG_LIB_DEPENDS=	libAfterImage.so:graphics/libafterimage \
			libpng.so:graphics/png
BGIMG_USES=		jpeg
BGIMG_CONFIGURE_ON=	--with-afterimage-config --with-png --with-jpeg
BGIMG_CONFIGURE_OFF=	--without-afterimage-config --with-png=no --with-jpeg=no
KANJI_CONFIGURE_ENABLE=	kanji
BIG5S_CONFIGURE_ENABLE=	big5
GREEK_CONFIGURE_ENABLE=	greek

.include <bsd.port.mk>
OpenPOWER on IntegriCloud