summaryrefslogtreecommitdiff
path: root/security/clamav-doc/Makefile
blob: ab0264aaf549141804d938870a132426e5ae2323 (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.4 2018/01/26 12:20:16 bouyer Exp $

.include "../../security/clamav/Makefile.common"

PKGNAME=	${DISTNAME:S/clamav/clamav-doc/}
COMMENT=	Anti-virus toolkit documents

NO_BUILD=	yes
NO_CONFIGURE=	yes
USE_TOOLS+=	pax

DOCDIR=		${PREFIX}/share/doc/clamav
PDFDOC=		clamav-mirror-howto.pdf clamdoc.pdf phishsigs_howto.pdf \
		signatures.pdf

INSTALLATION_DIRS+=	${DOCDIR}/html

do-install:
	cd ${WRKSRC}/docs && for f in ${PDFDOC}; do \
		${INSTALL_DATA} $$f ${DESTDIR}${DOCDIR}; \
	done
	cd ${WRKSRC}/docs && ${FIND} html -type f -print | \
		pax -rw ${DESTDIR}${DOCDIR}

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