aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-25 14:38:11 +0800
committerbapt <bapt@FreeBSD.org>2015-09-25 14:38:11 +0800
commit7bb630e4d7b48e3d5908f3a0838ef8890f82a43d (patch)
treedd7c6b0088093b1e3830a537b68d2793bb5482fa /mail
parent0eccc9aa8915e1e05ef2d65725dbf4b03bd9c28f (diff)
downloadfreebsd-ports-gnome-7bb630e4d7b48e3d5908f3a0838ef8890f82a43d.tar.gz
freebsd-ports-gnome-7bb630e4d7b48e3d5908f3a0838ef8890f82a43d.tar.zst
freebsd-ports-gnome-7bb630e4d7b48e3d5908f3a0838ef8890f82a43d.zip
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)
Diffstat (limited to 'mail')
-rw-r--r--mail/sgwi/Makefile19
-rw-r--r--mail/sgwi/distinfo4
-rw-r--r--mail/sgwi/pkg-plist1
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 <bsd.port.options.mk>
-
-.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