1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/bareos16-webui/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

62 lines
2.1 KiB
Makefile

# $FreeBSD$
PORTNAME= bareos16-webui
PORTVERSION= 16.2.7
PORTREVISION= 1
DISTVERSIONPREFIX= Release/
CATEGORIES= www sysutils
MAINTAINER= acm@FreeBSD.org
COMMENT= PHP-Frontend to manage Bareos over the web
LICENSE= AGPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= bareos
GH_PROJECT= bareos-webui
USES= php
USE_PHP= openssl gettext ctype hash json session iconv
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_LIST= BAREOSWEBUIDIR=${WWWDIR}
OPTIONS_DEFINE= MYSQL PGSQL ZENDFRAMEWORK
OPTIONS_DEFAULT= PGSQL
ZENDFRAMEWORK_DESC= Install zend framework
MYSQL_USE= PHP=pdo_mysql
PGSQL_USE= PHP=pdo_pgsql
ZENDFRAMEWORK_RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework
post-extract:
${RM} ${WRKSRC}/config/autoload/.gitignore
${RM} ${WRKSRC}/data/cache/.gitignore
${RM} ${WRKSRC}/vendor/.gitignore
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' ${WRKSRC}/config/autoload/global.php
do-install:
@${ECHO} "Installing in ${WWWDIR}"
@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console
@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile
@${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} "config data module public vendor" \
${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/composer* ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/phpunit.xml ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/install/directors.ini ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/install/configuration.ini ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample
${INSTALL_DATA} ${WRKSRC}/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample
${INSTALL_DATA} ${WRKSRC}/install/apache/bareos-webui.conf ${STAGEDIR}${ETCDIR}/apache-bareos-webui.conf
${INSTALL_DATA} ${WRKSRC}/install/nginx/bareos-webui.conf ${STAGEDIR}${ETCDIR}/nginx-bareos-webui.conf
.include <bsd.port.mk>