9a5c27ecff
- now bacula-docs just installs pdf files - add bacula-server/Makefile.common with -bat, -client-static and nagios_check- stuff (another bacula slave ports can use it too) - remove pkg-plist from bacula-bat and nagios-check_bacula - now bacula-server, bacula-bat and nagios-check_bacula depend of bacula-client. It avoids some conflicts when we want to install all bacula ports in the same system - remove the OPTION to install static version of bacula-client. Now it is a new port - few other minor changes while here: - trim Makefile headers - remove indefinite articles in COMMENT - convert to optionsng PR: 167700 Submitted by: acm (original patch), Dan Langille <dan@langille.org> (maintainer)
30 lines
622 B
Makefile
30 lines
622 B
Makefile
# Created by: Dan Langille <dan@langille.org>
|
|
# $FreeBSD$
|
|
|
|
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>
|