1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/net-mgmt/ocsinventory-ocsreports/Makefile
Kurt Jaeger 7bd1a42b48 New port: net-mgmt/ocsinventory-ocsreports
Webconsole for OCS Inventory NG

WWW: http://www.ocsinventory-ng.org/en/

PR:		227550
Submitted by:	dgeo@centrale-marseille.fr
Reviewed by:	mikael.urankar@gmail.com
2018-08-30 18:19:50 +00:00

32 lines
963 B
Makefile

# $FreeBSD$
PORTNAME= ocsinventory-ocsreports
PORTVERSION= 2.5
CATEGORIES= net-mgmt
MAINTAINER= dgeo@centrale-marseille.fr
COMMENT= Webconsole for OCS Inventory NG
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:web
USE_PHP= mysqli pcre zlib session xml gd zip openssl mbstring soap
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= OCSInventory-NG
GH_PROJECT= OCSInventory-ocsreports
SUB_FILES= apache.conf pkg-message
ETCDIR= ${PREFIX}/etc/OCSInventory
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! -name dbconfig.inc.php ! -name cas.config.php")
${INSTALL_DATA} ${WRKSRC}/dbconfig.inc.php ${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample
${INSTALL_DATA} ${WRKSRC}/backend/require/cas.config.php ${STAGEDIR}${WWWDIR}/backend/require/cas.config.php.sample
${INSTALL_DATA} ${WRKDIR}/apache.conf ${STAGEDIR}${ETCDIR}/ocsreports.inc.sample
.include <bsd.port.mk>