Lines 1-31
Link Here
|
1 |
# Created by: Lukasz Wasikowski <lukasz@wasikowski.net> |
|
|
2 |
# $FreeBSD: head/mail/sgwi/Makefile 350365 2014-04-06 15:15:52Z rene $ |
1 |
# $FreeBSD: head/mail/sgwi/Makefile 350365 2014-04-06 15:15:52Z rene $ |
3 |
|
2 |
|
4 |
PORTNAME= sgwi |
3 |
PORTNAME= sgwi |
5 |
PORTVERSION= 1.1.6 |
4 |
PORTVERSION= 1.1.8 |
6 |
CATEGORIES= mail www |
5 |
CATEGORIES= mail www |
7 |
MASTER_SITES= http://www.vanheusden.com/sgwi/ \ |
6 |
MASTER_SITES= http://www.vanheusden.com/sgwi/ \ |
8 |
http://lukasz.wasikowski.net/files/ |
7 |
http://lukasz.wasikowski.net/files/ |
9 |
DISTNAME= sqlgreywebinterface-${PORTVERSION} |
8 |
DISTNAME= sqlgreywebinterface-${PORTVERSION} |
10 |
EXTRACT_SUFX= .tgz |
|
|
11 |
|
9 |
|
12 |
MAINTAINER= lukasz@wasikowski.net |
10 |
MAINTAINER= lukasz@wasikowski.net |
13 |
COMMENT= PHP web interface to SQLGrey |
11 |
COMMENT= PHP web interface to SQLGrey |
14 |
|
12 |
|
15 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
16 |
|
14 |
|
|
|
15 |
USES= tar:tgz |
17 |
NO_BUILD= yes |
16 |
NO_BUILD= yes |
18 |
SUB_FILES+= pkg-message pkg-install |
17 |
SUB_FILES+= pkg-message pkg-install |
19 |
SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
18 |
SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
20 |
|
19 |
|
21 |
OPTIONS_SINGLE= BACKEND |
20 |
OPTIONS_SINGLE= BACKEND |
22 |
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL |
21 |
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL SQLITE3 |
23 |
|
22 |
|
24 |
MYSQL_DESC= MySQL back-end (use mysql PHP extension) |
23 |
MYSQL_DESC= MySQL back-end (use mysql PHP extension) |
25 |
PGSQL_DESC= PostgreSQL back-end (use pgsql PHP extension) |
24 |
PGSQL_DESC= PostgreSQL back-end (use pgsql PHP extension) |
|
|
25 |
SQLITE3_DESC= SQLite3 back-end (use pgsql PHP extension) |
26 |
|
26 |
|
27 |
OPTIONS_DEFAULT=MYSQL |
27 |
OPTIONS_DEFAULT=MYSQL |
28 |
|
28 |
|
|
|
29 |
|
29 |
.include <bsd.port.options.mk> |
30 |
.include <bsd.port.options.mk> |
30 |
|
31 |
|
31 |
.if ${PORT_OPTIONS:MMYSQL} |
32 |
.if ${PORT_OPTIONS:MMYSQL} |
Lines 36-41
USE_PHP+= mysql
Link Here
|
36 |
USE_PHP+= pgsql |
37 |
USE_PHP+= pgsql |
37 |
.endif |
38 |
.endif |
38 |
|
39 |
|
|
|
40 |
.if ${PORT_OPTIONS:MSQLITE3} |
41 |
USE_PHP+= sqlite3 |
42 |
.endif |
43 |
|
39 |
WANT_PHP_WEB= yes |
44 |
WANT_PHP_WEB= yes |
40 |
|
45 |
|
41 |
post-patch: |
46 |
post-patch: |