summaryrefslogtreecommitdiff
path: root/x11/aterm/Makefile
blob: 548dff6d54766e3274c9e36b86052de0dab830c7 (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
54
55
56
# $NetBSD: Makefile,v 1.53 2018/04/16 14:35:19 wiz Exp $
#

DISTNAME=	aterm-1.0.0
PKGREVISION=	17
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=aterm/}
EXTRACT_SUFX=	.tar.bz2
#CVS_ROOT=	:pserver:anonymous@cvs.aftercode.net:/home/cvsroot
#CVS_MODULE=	aterm1

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.afterstep.org/aterm.php
COMMENT=	Aterm (Afterstep XVT) - a VT102 emulator for the X window system

GNU_CONFIGURE=	YES
MAKE_JOBS_SAFE=	no

CONFIGURE_ARGS+=--enable-background-image \
		--enable-transparency \
		--enable-fading \
		--enable-graphics \
		--with-xpm \
		--with-xpm-includes=${BUILDLINK_PREFIX.libXpm}/include \
		--with-xpm-library=${BUILDLINK_PREFIX.libXpm}/lib \
		--with-jpeg \
		--with-jpeg-includes=${JPEGBASE}/include \
		--with-jpeg-library=${JPEGBASE}/lib \
		--with-png \
		--with-png-library=${BUILDLINK_PREFIX.png}/lib \
		--with-png-includes=${BUILDLINK_PREFIX.png}/include \
		--enable-utmp \
		--enable-wtmp

.include "options.mk"

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin"
# Make aterm setuid root so that tty ownership setting and utmp logging
# function correctly.
#
CONFIGURE_ARGS+=	--enable-ttygid
SPECIAL_PERMS=		${PREFIX}/bin/aterm ${SETUID_ROOT_PERMS}
.endif

BUILDLINK_DEPMETHOD.libXt=	build

.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"