summaryrefslogtreecommitdiff
path: root/comms/xtel/Makefile
blob: 490d6f049df1ecd734ae3507dd5382635d7b46a9 (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
# $NetBSD: Makefile,v 1.25 2012/02/16 18:00:20 hans Exp $
#

DISTNAME=	xtel-3.3.0
PKGREVISION=	12
CATEGORIES=	comms x11
MASTER_SITES=	http://pficheux.free.fr/xtel/download/

PATCHFILES=	xtel-jumbo-patch-20111008.gz
PATCH_SITES=	http://www.NetBSD.org/~dholland/patchkits/xtel/
PATCH_DIST_STRIP= -p1

MAINTAINER=	bouyer@NetBSD.org
HOMEPAGE=	http://pficheux.free.fr/xtel/
COMMENT=	Minitel(r) emulator

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=	no

USE_IMAKE=	YES
USE_TOOLS+=	mkfontdir bdftopcf

FONTDIR=	${PREFIX}/lib/X11/fonts
FONTS_DIRS.x11=	${FONTDIR}/xtel
REQD_DIRS=	${FONTDIR}/xtel

SUBST_CLASSES+=		fontdir
SUBST_STAGE.fontdir=	post-configure
SUBST_MESSAGE.fontdir=	Fixing imake font directory.
SUBST_FILES.fontdir=	fonts/Makefile
SUBST_SED.fontdir=	's,^[^A-Z]*FONTDIR =.*,FONTDIR = '${FONTDIR:Q},

INSTALLATION_DIRS=	share/examples/xtel
INSTALL_MAKE_FLAGS=	PPPDIR=${PREFIX}/share/examples/xtel

SPECIAL_PERMS+=		bin/mdmdetect ${SETUID_ROOT_PERMS}

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+=	rm:-lucb
.endif

.include "../../mk/jpeg.buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/xbitmaps/buildlink3.mk"

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