Merge from vendor branch TNF:
[pkgsrcv2.git] / regress / print-plist / Makefile
1 # $NetBSD$
2 #
3
4 DISTNAME=       print-plist-0.0
5 CATEGORIES=     regress
6 MASTER_SITES=   # empty
7 DISTFILES=      # empty
8
9 MAINTAINER=     jmmv@NetBSD.org
10 COMMENT=        Test print-PLIST and related functionality
11
12 EXTRACT_ONLY=   # empty
13 NO_CONFIGURE=   yes
14 NO_MTREE=       yes
15
16 PRINT_PLIST_AWK+=       /^print-plist\/foo$$/ \
17                                 { print "@comment Matched test file."; \
18                                   print; next }
19 PRINT_PLIST_AWK+=       /^@dirrm print-plist$$/ \
20                                 { print "@comment Matched test directory."; \
21                                   print; next }
22
23 do-build:
24         ${ECHO} "foo" >${WRKDIR}/foo
25
26 do-install:
27         ${INSTALL_DATA_DIR} ${PREFIX}/print-plist
28         ${INSTALL_DATA} ${WRKDIR}/foo ${PREFIX}/print-plist
29
30 .include "../../mk/bsd.pkg.mk"