openbsd-ports/www/bacula-web/Makefile
2013-01-14 16:07:41 +00:00

49 lines
1005 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/01/14 16:07:41 ajacoutot Exp $
COMMENT= monitoring and reporting tool for bacula(8)
DISTNAME= bacula-web-5.2.11
REVISION= 0
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}
rm ${PREFIX}/bacula-web/application/config/config.php.sample.orig
${SUBST_CMD} -c ${FILESDIR}/bacula-web.conf \
${INSTDIR}/bacula-web.conf.dist
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>