blob: a1388def635ea8bcbd4aa20b0760508af2a49246 (
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
|
# $NetBSD: Makefile,v 1.3 2009/04/09 00:47:12 joerg Exp $
#
DISTNAME= subst-1.0
CATEGORIES= regress
DISTFILES= # none
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Test the SUBST framework
WRKSRC= ${WRKDIR}
USE_TOOLS+= diff
SUBST_CLASSES+= vars
SUBST_STAGE.vars= do-build
SUBST_FILES.vars= vars
SUBST_VARS.vars= PLAIN DQUOT SQUOT DELIM EVIL1
.include "${.PARSEDIR}/vars.mk"
pre-build:
for v in ${SUBST_VARS.vars}; do echo "$$v=@$$v@"; done > ${WRKSRC}/vars
do-build:
@${DO_NADA}
post-build:
diff vars.mk ${WRKSRC}/vars
.include "../../mk/bsd.pkg.mk"
|