blob: e96f69b314c9b713260458e8cf33e1b3350fc07d (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Created by: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= aterm
PORTVERSION= 1.0.1
PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Color vt102 terminal emulator with transparency support
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-wtmp \
--enable-xgetdefault \
--disable-memset \
--disable-swapscreen \
--disable-thai \
--without-afterstep-config
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= TRANS "Transparency support" on \
BSDEL "BSD-style backspace and delete" on \
MOUSE "Mousewheel support" on \
BGIMG "XPM, JPEG, PNG backgrounds" off \
KANJI "Kanji (EUC-JP or SJIS) support" off \
BIG5S "Chinese character support (BIG5)" off \
GREEK "Greek keyboard support" off
MAN1= aterm.1
PLIST_FILES= bin/aterm
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
CONFIGURE_ARGS+= --disable-utmp
.else
CONFIGURE_ARGS+= --enable-utmp
.endif
.if !defined(WITHOUT_TRANS)
CONFIGURE_ARGS+= --enable-transparency
.else
CONFIGURE_ARGS+= --disable-transparency
.endif
.if !defined(WITHOUT_BSDEL)
CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key
.else
CONFIGURE_ARGS+= --enable-backspace-key --enable-delete-key
.endif
.if !defined(WITHOUT_MOUSE)
CONFIGURE_ARGS+= --enable-mousewheel
.else
CONFIGURE_ARGS+= --disable-mousewheel
.endif
.if defined(WITH_BGIMG)
LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage \
png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
CONFIGURE_ARGS+= --with-afterimage-config --with-png --with-jpeg
.else
CONFIGURE_ARGS+= --without-afterimage-config --with-png=no --with-jpeg=no
.endif
.if defined(WITH_KANJI)
CONFIGURE_ARGS+= --enable-kanji
.endif
.if defined(WITH_BIG5S)
CONFIGURE_ARGS+= --enable-big5
.endif
.if defined(WITH_GREEK)
CONFIGURE_ARGS+= --enable-greek
.endif
.include <bsd.port.post.mk>
|