Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2023 11:54:16 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9615c60cce94 - main - www/thundersnarf: Mark DEPRECATED
Message-ID:  <202311151154.3AFBsGDf042640@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9615c60cce941b256d0826dc94c0670d48107557

commit 9615c60cce941b256d0826dc94c0670d48107557
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-12 19:54:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-15 11:54:04 +0000

    www/thundersnarf: Mark DEPRECATED
    
    - Depends on deprecated php80
    - Upstream vaporized
    - Upstream last update was in 2019
    - Set EXPIRATION_DATE to 2023-12-12
    - Pet portclippy
    - Utilize OPTIONSNG
    
    Approved by:    portmgr (blanket)
---
 www/thundersnarf/Makefile | 46 ++++++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/www/thundersnarf/Makefile b/www/thundersnarf/Makefile
index ad9ec730f645..f2c994d4ccb5 100644
--- a/www/thundersnarf/Makefile
+++ b/www/thundersnarf/Makefile
@@ -10,47 +10,45 @@ 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 <bsd.port.options.mk>
+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 <bsd.port.options.mk>
 
 .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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311151154.3AFBsGDf042640>