diff --git a/www/thundersnarf/Makefile b/www/thundersnarf/Makefile index ad9ec730f645..f2c994d4ccb5 100644 --- a/www/thundersnarf/Makefile +++ b/www/thundersnarf/Makefile @@ -1,66 +1,64 @@ PORTNAME= thundersnarf PORTVERSION= 1.3 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.tracanelli.com.br/l/dev/thunder/ \ LOCAL/jmelo MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= Web reporting and trending analysis for Thunder Cache Pro WWW= http://www.thundercache.com.br -OPTIONS_DEFINE= APACHE PHP PGSQL DOCS -OPTIONS_DEFAULT=APACHE PHP PGSQL -APACHE_DESC= Install apache for reporting viewing -PHP_DESC= Install PHP for reporting generating -PGSQL_DESC= Install PostgreSQL (report data storing) +DEPRECATED= Depends on deprecated php80 +EXPIRATION_DATE= 2023-12-12 -USES= tar:bzip2 +LIB_DEPENDS+= libcurl.so:ftp/curl -PHP_USES= php -PHP_VARS= IGNORE_WITH_PHP=81 82 83 +USES= tar:bzip2 -NO_BUILD= yes NO_ARCH= yes +NO_BUILD= yes +SUB_FILES= pkg-message + WRKSRC= ${WRKDIR}/${PORTNAME} + PLIST_SUB= OWNER=${WWWOWN} GROUP=${WWWGRP} -.include +OPTIONS_DEFINE= APACHE PHP PGSQL DOCS +OPTIONS_DEFAULT=APACHE PHP PGSQL -.if ${PORT_OPTIONS:MAPACHE} -USES+= apache:run -.endif +APACHE_DESC= Install apache for reporting viewing +PGSQL_DESC= Install PostgreSQL (report data storing) +PHP_DESC= Install PHP for reporting generating -.if ${PORT_OPTIONS:MPGSQL} -USES+= pgsql -WANT_PGSQL= server -.endif +APACHE_USES= apache:run +PGSQL_USES= pgsql +PGSQL_VARS= WANT_PGSQL=server +PHP_USES= php +# php spl extension is required but it's statically linked in default php +PHP_USE= PHP=curl,bcmath,pdo,mcrypt,session,pgsql,dom,xmlrpc,ctype,simplexml,soap +PHP_VARS= IGNORE_WITH_PHP="81 82 83" + +.include .if ${PORT_OPTIONS:MPHP} -# php spl extension is required but it's statically linked in default php -USE_PHP+= curl bcmath pdo mcrypt session pgsql dom xmlrpc ctype simplexml soap . if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql pgsql . endif .endif -LIB_DEPENDS+= libcurl.so:ftp/curl - -SUB_FILES= pkg-message - post-extract: - # Present on FreeBSD 8 and 9 after extraction @${RM} ${WRKSRC}/protected/data/bin/._thundersnarf do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/protected/data/bin/thundersnarf* \ ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README.pt_BR .include