0f38f27be9
Bacula-Web is a web based tool written in PHP that provides a summarized view of the bacula backup infrastructure. It obtain this information from the bacula catalog's database. This tool provides you informations on the last day jobs status, media and pool usage, catalog size usage, etc. ok jasper@
47 lines
929 B
Makefile
47 lines
929 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/26 08:54:05 ajacoutot Exp $
|
|
|
|
COMMENT= monitoring and reporting tool for bacula(8)
|
|
|
|
DISTNAME= bacula-web-5.2.6
|
|
|
|
CATEGORIES= www sysutils
|
|
|
|
HOMEPAGE= http://www.bacula-web.org/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}tl_files/downloads/
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/bacula-web
|
|
TINSTDIR= ${TRUEPREFIX}/bacula-web
|
|
SUBST_VARS= INSTDIR TINSTDIR
|
|
|
|
do-extract:
|
|
mkdir ${WRKDIST}
|
|
cd ${WRKDIST}; \
|
|
for archive in ${EXTRACT_ONLY}; do \
|
|
case $$archive in \
|
|
${EXTRACT_CASES} \
|
|
esac; \
|
|
done
|
|
|
|
do-install:
|
|
cp -Rp ${WRKSRC} ${INSTDIR}
|
|
${SUBST_CMD} -c ${FILESDIR}/bacula-web.conf \
|
|
${INSTDIR}/bacula-web.conf.dist
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|