summaryrefslogtreecommitdiff
path: root/misc/qterm/Makefile
blob: 4ce97f573246348c98870531c2721c5d52e70df6 (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
# $NetBSD: Makefile,v 1.13 2011/10/03 05:02:48 agc Exp $
#

DISTNAME=	qterm-ac-1.0
PKGNAME=	qterm-1.0
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://www.westley.demon.co.uk/src/

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	http://www.alistaircrooks.co.uk/software.html
COMMENT=	Utility to recognise terminal type automatically

GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

PKG_DESTDIR_SUPPORT=	user-destdir

EGDIR=		${PREFIX}/share/examples/qterm
CONF_FILES=	${EGDIR}/qtermtab ${PKG_SYSCONFDIR}/qtermtab

SUBST_CLASSES+=		qterm
SUBST_STAGE.qterm=	pre-configure
SUBST_FILES.qterm=	aux.c qterm.c qterm.h table.c
SUBST_SED.qterm+=	-e 's|dprintf|qterm_debug_printf|g'

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