mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
bd746a8433
Changelog: http://marc.info/?l=bacula-announce&m=120144196107545&w=2 PR: 120054 Submitted by: Dan Langille <dan@langille.org> (maintainer)
43 lines
1.2 KiB
Makefile
43 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.2.8
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= bacula
|
|
PKGNAMESUFFIX= -docs
|
|
DISTFILES= ${PORTNAME}-docs-${PORTVERSION}.tar.bz2 ${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 kernstodo manual
|
|
|
|
.ifdef NOPORTDOCS
|
|
IGNORE= consists of only documentation, please undef NOPORTDOCS and try again
|
|
.endif
|
|
|
|
do-install:
|
|
# Documentation is only installed in -client port
|
|
for na in manual; 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}-${PORTVERSION}/kernstodo ${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|