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