opnsense-ports/sysutils/bacula5-docs/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

35 lines
726 B
Makefile

# Created by: Dan Langille <dan@langille.org>
# $FreeBSD$
PORTNAME= bacula
PORTVERSION= 5.2.12
CATEGORIES= sysutils
MASTER_SITES= SF
PKGNAMESUFFIX= 5-docs
DISTFILES= ${PORTNAME}-docs-${PORTVERSION}.tar.bz2
CONFLICTS= bacula-*
MAINTAINER= dan@langille.org
COMMENT= Bacula document set
NO_BUILD= yes
UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX}
PORTDOCS= *.pdf
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
IGNORE= consists of only documentation, please enable DOCS and try again
.endif
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \
-name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \;
.include <bsd.port.mk>