svn commit: r397797 - head/mail/sgwi

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 25 06:38:12 UTC 2015


Author: bapt
Date: Fri Sep 25 06:38:11 2015
New Revision: 397797
URL: https://svnweb.freebsd.org/changeset/ports/397797

Log:
  Update to 1.1.8
  
  Switch to USE=tar:tgz
  add SQLITE3 option
  
  While here:
  switch to options helpers
  
  PR:		203141
  Submitted by:	takefu at airport.fm
  Approved by:	 Lukasz Wasikowski (maintainer)

Modified:
  head/mail/sgwi/Makefile
  head/mail/sgwi/distinfo
  head/mail/sgwi/pkg-plist

Modified: head/mail/sgwi/Makefile
==============================================================================
--- head/mail/sgwi/Makefile	Fri Sep 25 06:29:40 2015	(r397796)
+++ head/mail/sgwi/Makefile	Fri Sep 25 06:38:11 2015	(r397797)
@@ -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 at 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
 

Modified: head/mail/sgwi/distinfo
==============================================================================
--- head/mail/sgwi/distinfo	Fri Sep 25 06:29:40 2015	(r397796)
+++ head/mail/sgwi/distinfo	Fri Sep 25 06:38:11 2015	(r397797)
@@ -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

Modified: head/mail/sgwi/pkg-plist
==============================================================================
--- head/mail/sgwi/pkg-plist	Fri Sep 25 06:29:40 2015	(r397796)
+++ head/mail/sgwi/pkg-plist	Fri Sep 25 06:38:11 2015	(r397797)
@@ -3,7 +3,6 @@
 www/sgwi/awl.php
 www/sgwi/connect.php
 www/sgwi/includes/awl.inc.php
- at 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


More information about the svn-ports-all mailing list