From 9c97a6d632e266ad5242da8071d7300304ddea48 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 14 Nov 2022 09:10:00 +0000 Subject: [PATCH] www/matomo: the port had been updated to version 4.12.3 Remove vestiges of the old project name and fix couple of noticed typos in the installation instructions while here. PR: 266843 Submitted by: Oleg Ginzburg Approved by: maintainer (joneum: timeout) --- www/matomo/Makefile | 27 ++++++++++++--------------- www/matomo/distinfo | 6 +++--- www/matomo/files/pkg-message.in | 4 ++-- www/matomo/pkg-plist | 26 +++++++++++++++++++++++--- 4 files changed, 40 insertions(+), 23 deletions(-) diff --git a/www/matomo/Makefile b/www/matomo/Makefile index f4f5bba6cbc4a..4b412c918ecac 100644 --- a/www/matomo/Makefile +++ b/www/matomo/Makefile @@ -1,9 +1,8 @@ PORTNAME= matomo -DISTVERSION= 4.11.0 +PORTVERSION= 4.12.3 CATEGORIES= www MASTER_SITES= http://builds.matomo.org/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} -DISTNAME= piwik-${DISTVERSION} MAINTAINER= joneum@FreeBSD.org COMMENT= Open Source Web Analytics Software Program @@ -13,16 +12,18 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe shebangfix php:flavors +USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json \ + mbstring mcrypt memcache mysqli opcache openssl pcre pdo \ + pdo_mysql posix readline session simplexml soap sockets \ + sqlite3 tidy tokenizer xml zlib +NO_ARCH= yes NO_BUILD= yes +SHEBANG_FILES= misc/log-analytics/import_logs.py SUB_FILES= pkg-message +PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} -USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json \ - mbstring mcrypt memcache mysqli openssl pcre pdo posix readline session \ - simplexml soap sockets sqlite3 tidy tokenizer xml opcache zlib -NO_ARCH=yes - -WRKSRC= ${WRKDIR}/piwik +WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= PHPPDOMYSQL PHPMYSQLI OPTIONS_DEFAULT= PHPPDOMYSQL @@ -31,16 +32,12 @@ PHPPDOMYSQL_USE= PHP=pdo_mysql PHPMYSQLI_DESC= Use mysqli php module PHPMYSQLI_USE= PHP=mysqli -PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} - -SHEBANG_FILES= misc/log-analytics/import_logs.py - pre-install: @if [ ! -f ${LOCALBASE}/bin/php ]; then \ - echo " It seems you installed php without CLI enabled. "; \ - echo " This will cause problems when using piwik. "; \ + echo " It seems you installed PHP without CLI enabled. "; \ + echo " This will cause problems when using Matomo. "; \ echo " If you want to reconsider, press Ctrl-C now to cancel. "; \ - echo " Then reinstall php with CLI enabled. "; \ + echo " Then reinstall PHP with CLI enabled. "; \ sleep 3; \ fi diff --git a/www/matomo/distinfo b/www/matomo/distinfo index 91e53d7838760..459dec7851f6f 100644 --- a/www/matomo/distinfo +++ b/www/matomo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1663588110 -SHA256 (piwik-4.11.0.tar.gz) = af548a0f3a890427446c506f804be3b390c01774ffccea921fc4a0237a02a745 -SIZE (piwik-4.11.0.tar.gz) = 16961843 +TIMESTAMP = 1666842304 +SHA256 (matomo-4.12.3.tar.gz) = 00efe4335c9cee9f269b5e8a337026af7f115c05cde1e9ae47485592372b37ee +SIZE (matomo-4.12.3.tar.gz) = 17194133 diff --git a/www/matomo/files/pkg-message.in b/www/matomo/files/pkg-message.in index a1de5c053c0bd..4fc9d0b364f4a 100644 --- a/www/matomo/files/pkg-message.in +++ b/www/matomo/files/pkg-message.in @@ -1,7 +1,7 @@ [ { type: install message: <