summaryrefslogtreecommitdiff
path: root/misc/teseq/Makefile
blob: ea2a8eb82cc92288e04fd00c7537cd008e6777a3 (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
# $NetBSD: Makefile,v 1.5 2013/05/31 12:41:29 wiz Exp $
#

DISTNAME=	teseq-1.0.0
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_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"