summaryrefslogtreecommitdiff
path: root/misc/teseq/Makefile
blob: f8f1f26da77050ebd301663e082123215bbabf85 (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
# $NetBSD: Makefile,v 1.9 2015/06/12 10:50:37 wiz Exp $
#

DISTNAME=	teseq-1.1
PKGREVISION=	2
CATEGORIES=	misc
MASTER_SITES=	http://ftp.gnu.org/gnu/teseq/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ftp.gnu.org/gnu/teseq/
COMMENT=	Terminal control sequence analyzer

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c99
USE_TOOLS+=	perl:run sed:run

CONFIGURE_ENV+=	AUTOCONF=true # files pre-built, not needed
CONFIGURE_ENV+= MAKEINFO=true
CONFIGURE_ENV+=	HELP2MAN=true

INFO_FILES=	yes

REPLACE_PERL=	reseq.in
REPLACE_SED=	src/teseq-post.sed
REPLACE_SH=	tests/run.in

REPLACE_INTERPRETER+=	sed
REPLACE.sed.old=	.*sed
REPLACE.sed.new=	${SED}
REPLACE_FILES.sed=	${REPLACE_SED}

SUBST_CLASSES+=	infodir
SUBST_FILES.infodir=	Makefile.in
SUBST_MESSAGE.infodir=	Fixing info directory pathname
SUBST_SED.infodir=	-e 's,@infodir@,${PREFIX}/${PKGINFODIR},g'
SUBST_STAGE.infodir=	pre-configure

TEST_TARGET=	check

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