net-mgmt/cacti: USE_PHP+= intl pcntl

In version 1.2.23, Cacti's installer checks for the presence of the intl
and pcntl PHP modules.  Thus the port ought to depend on those modules.

Also switch to DISTVERSION while we are at it.

See also:	https://github.com/Cacti/cacti/commit/27308d84
See also:	https://github.com/Cacti/cacti/commit/15cdd4a5
PR:		269022
Approved by:	m.muenz@gmail.com (maintainer)
This commit is contained in:
David Siebörger 2023-05-16 16:59:11 +02:00 committed by Robert Clausecker
parent cc33a2ff41
commit bc6e8c0e28

View file

@ -1,5 +1,6 @@
PORTNAME= cacti
PORTVERSION= 1.2.23
DISTVERSION= 1.2.23
PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= http://www.cacti.net/downloads/ \
ftp://ftpmirror.uk/freebsd-ports/cacti/
@ -15,7 +16,8 @@ RUN_DEPENDS= rrdtool:databases/rrdtool
USES= cpe mysql php:web shebangfix
USE_PHP= ctype filter gd gettext gmp ldap mbstring pdo pdo_mysql posix session simplexml sockets snmp xml zlib
USE_PHP= ctype filter gd gettext gmp intl ldap mbstring pcntl pdo \
pdo_mysql posix session simplexml sockets snmp xml zlib
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message