# Created by: Dan Langille <dan@langille.org>
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/bacula-docs/Makefile 309025 2012-12-16 16:32:45Z rm $

PORTNAME=	bacula
PORTVERSION=	5.2.12
CATEGORIES=	sysutils
MASTER_SITES=	SF
PKGNAMESUFFIX=	-docs
DISTFILES=	${PORTNAME}-docs-${PORTVERSION}.tar.bz2

MAINTAINER=	dan@langille.org
COMMENT=	Bacula document set

NO_BUILD=	yes

UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}

PORTDOCS=	*.pdf

.ifdef NOPORTDOCS
IGNORE=		consists of only documentation, please undef NOPORTDOCS and try again
.endif

do-install:
	${MKDIR} ${DOCSDIR}

	${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \
		-name "*.pdf" -exec ${INSTALL_DATA} {} ${DOCSDIR}/ \;

.include <bsd.port.mk>
