From 3adfca5f6b23274e2d63f92f6ea5fe0e3986d6cf Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 25 Sep 2015 06:38:11 +0000 Subject: [PATCH] Update to 1.1.8 Switch to USE=tar:tgz add SQLITE3 option While here: switch to options helpers PR: 203141 Submitted by: takefu@airport.fm Approved by: Lukasz Wasikowski (maintainer) --- mail/sgwi/Makefile | 19 +++++++------------ mail/sgwi/distinfo | 4 ++-- mail/sgwi/pkg-plist | 1 - 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/mail/sgwi/Makefile b/mail/sgwi/Makefile index c4646abefbf4..4e1b04381714 100644 --- a/mail/sgwi/Makefile +++ b/mail/sgwi/Makefile @@ -2,39 +2,34 @@ # $FreeBSD$ PORTNAME= sgwi -PORTVERSION= 1.1.6 +PORTVERSION= 1.1.8 CATEGORIES= mail www MASTER_SITES= http://www.vanheusden.com/sgwi/ \ http://lukasz.wasikowski.net/files/ DISTNAME= sqlgreywebinterface-${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= lukasz@wasikowski.net COMMENT= PHP web interface to SQLGrey LICENSE= GPLv2 +USES= tar:tgz NO_BUILD= yes SUB_FILES+= pkg-message pkg-install SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= MYSQL PGSQL +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL SQLITE3 MYSQL_DESC= MySQL back-end (use mysql PHP extension) PGSQL_DESC= PostgreSQL back-end (use pgsql PHP extension) +SQLITE3_DESC= SQLite3 back-end (use pgsql PHP extension) OPTIONS_DEFAULT=MYSQL -.include - -.if ${PORT_OPTIONS:MMYSQL} -USE_PHP+= mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pgsql -.endif +MYSQL_USE= PHP=mysql +PGSQL_USE= PHP=pgsql +SQLITE3_USE= PHP=sqlite3 WANT_PHP_WEB= yes diff --git a/mail/sgwi/distinfo b/mail/sgwi/distinfo index b41a270f8fd4..d833cd3a30a1 100644 --- a/mail/sgwi/distinfo +++ b/mail/sgwi/distinfo @@ -1,2 +1,2 @@ -SHA256 (sqlgreywebinterface-1.1.6.tgz) = d544d99b8b3b675d0399cd66b2b2378c7473d24e434be6bf814590dee914e73d -SIZE (sqlgreywebinterface-1.1.6.tgz) = 9256 +SHA256 (sqlgreywebinterface-1.1.8.tgz) = 33685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08 +SIZE (sqlgreywebinterface-1.1.8.tgz) = 14257 diff --git a/mail/sgwi/pkg-plist b/mail/sgwi/pkg-plist index 289367da9707..2b6086501718 100644 --- a/mail/sgwi/pkg-plist +++ b/mail/sgwi/pkg-plist @@ -3,7 +3,6 @@ www/sgwi/awl.php www/sgwi/connect.php www/sgwi/includes/awl.inc.php -@exec [ -f %D/www/sgwi/config.inc.php ] && mv -f %D/www/sgwi/config.inc.php %D/www/sgwi/includes/config.inc.php @sample www/sgwi/includes/config.inc.php.sample www/sgwi/includes/connect.inc.php www/sgwi/includes/copyright.inc.php