freebsd-ports/sysutils/bacula-docs/Makefile
Ion-Mihai Tetcu 3168ca042c Bacula is a set of computer programs that permit you (or the system
administrator) to manage backup, recovery, and verification of
computer data across a network of computers of different kinds.
In technical terms, it is a network Client/Server based backup program.
Bacula is relatively easy to use and efficient, while offering many
advanced storage management features that make it easy to find and
recover lost or damaged files. Due to its modular design, Bacula is
scalable from small single computer systems to systems consisting of
hundreds of computers located over a large network.

This port installs the latest documentation for Bacula.

WWW: http://www.bacula.org/

PR:		ports/107534
Submitted by:	Dan Langille <dan at langille.org>
2007-01-04 23:22:14 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: bacula
# Date created: 4 January 2006
# Whom: Dan Langille <dan@langille.org>
#
# $FreeBSD$
#
PORTNAME= bacula
PORTVERSION= 2.0.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
PKGNAMESUFFIX= -docs
DISTFILES= ${PORTNAME}-docs-${PORTVERSION}.tar.gz ${PORTNAME}-${PORTVERSION}.tar.gz
MAINTAINER= dan@langille.org
COMMENT= The Bacula document set
NO_BUILD= YES
CONFLICTS= bacula-server-devel[0-9]* bacula-client-devel[0-9]* bacula-docs-devel-[0-9]*
UNIQUENAME=${PORTNAME}${PKGNAMESUFFIX}
PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
do-install:
# Documentation is only installed in -client port
for na in manual bacula-web; do \
${MKDIR} ${DOCSDIR}/$$na ;\
cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && ${FIND} $$na | \
${CPIO} -pdm -L -R root:wheel ${DOCSDIR}; \
done
@${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ReleaseNotes ${DOCSDIR}
@${CP} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manual/bacula.pdf ${DOCSDIR}
@${CP} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/developers/developers.pdf ${DOCSDIR}
@${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kernstodo ${DOCSDIR}
.include <bsd.port.mk>