aboutsummaryrefslogtreecommitdiff
path: root/mail/sgwi/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-25 06:38:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-25 06:38:11 +0000
commit3adfca5f6b23274e2d63f92f6ea5fe0e3986d6cf (patch)
treedd7c6b0088093b1e3830a537b68d2793bb5482fa /mail/sgwi/Makefile
parentf59761d2b06a844a188ea4658afe6221a6d3d9ae (diff)
downloadports-3adfca5f6b23274e2d63f92f6ea5fe0e3986d6cf.tar.gz
ports-3adfca5f6b23274e2d63f92f6ea5fe0e3986d6cf.zip
Notes
Diffstat (limited to 'mail/sgwi/Makefile')
-rw-r--r--mail/sgwi/Makefile19
1 files changed, 7 insertions, 12 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