summaryrefslogtreecommitdiff
path: root/regress/print-plist/Makefile
blob: 499224a5698a88fa250d429a7a7602213b8ad8e5 (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.2 2008/04/30 13:38:16 jmmv Exp $
#

DISTNAME=	print-plist-0.0
CATEGORIES=	regress
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Test print-PLIST and related functionality

EXTRACT_ONLY=	# empty
NO_CONFIGURE=	yes
NO_MTREE=	yes

PRINT_PLIST_AWK+=	/^print-plist\/foo$$/ \
				{ print "@comment Matched test file."; \
				  print; next }
PRINT_PLIST_AWK+=	/^@dirrm print-plist$$/ \
				{ print "@comment Matched test directory."; \
				  print; next }

do-build:
	${ECHO} "foo" >${WRKDIR}/foo

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/print-plist
	${INSTALL_DATA} ${WRKDIR}/foo ${PREFIX}/print-plist

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