summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2-doc/Makefile
blob: a0cf24b8651e942f8a775f185710dbe0d5444dbd (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
# $NetBSD: Makefile,v 1.8 2006/04/07 19:54:16 jlam Exp $
#

PKGNAME=	cfengine-doc-${CFENGINE_VERSION}
PKGREVISION=	1

.include "../../sysutils/cfengine2/Makefile.common"

COMMENT=	Documentation for cfengine

NO_CONFIGURE=   yes
NO_BUILD=       yes
INFO_FILES=	# PLIST

HTMLDIR=		${PREFIX}/share/doc/html/cfengine
INSTALLATION_DIRS=	${PKGINFODIR} ${HTMLDIR}

do-install:
	cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do		\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR};		\
	done
	${INSTALL_DATA} ${WRKSRC}/doc/cfengine-*.html ${HTMLDIR}

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