aboutsummaryrefslogtreecommitdiffstats
path: root/www/owncloud/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-01-31 03:22:34 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-01-31 03:22:34 +0800
commitcb33e38645d69728fdd2abf9f5666bab169d346a (patch)
treed90df0eb3f7f2e868f2046d2fc33d0a3cf4082f7 /www/owncloud/Makefile
parent5e388ab9ba86b39705c1c5639aa397cb4f87f4a8 (diff)
downloadfreebsd-ports-gnome-cb33e38645d69728fdd2abf9f5666bab169d346a.tar.gz
freebsd-ports-gnome-cb33e38645d69728fdd2abf9f5666bab169d346a.tar.zst
freebsd-ports-gnome-cb33e38645d69728fdd2abf9f5666bab169d346a.zip
Add PHP flavor
- Cosmetic change PR: 235116 Requested by: Christian Ludwig <chrissicool@gmail.com>
Diffstat (limited to 'www/owncloud/Makefile')
-rw-r--r--www/owncloud/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile
index 17dd026ec8c7..011c7f392771 100644
--- a/www/owncloud/Makefile
+++ b/www/owncloud/Makefile
@@ -6,6 +6,7 @@ PORTVERSION= 10.0.10
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.owncloud.org/community/
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Personal cloud which runs on your own server
@@ -13,17 +14,18 @@ COMMENT= Personal cloud which runs on your own server
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cpe php:web tar:bzip2
+USES= cpe php:flavors,web tar:bzip2
USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv intl json \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl wddx zip zlib
-WRKSRC= ${WRKDIR}/${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
OWNCLOUD_USER?= ${WWWOWN}
OWNCLOUD_GROUP?=${WWWGRP}
+
PLIST_SUB= OWNCLOUD_USER=${OWNCLOUD_USER} \
OWNCLOUD_GROUP=${OWNCLOUD_GROUP}
SUB_FILES= pkg-message newsyslog
@@ -32,7 +34,6 @@ OPTIONS_DEFINE= EXAMPLES EXIF LDAP SMB SSL
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT=EXIF LDAP MYSQL SMB SSL
-
EXIF_DESC= Image rotation support
EXIF_USE= PHP=exif
@@ -41,8 +42,8 @@ MYSQL_USE= PHP=pdo_mysql
MYSQL_USES= mysql
PGSQL_USES= pgsql
PGSQL_USE= PHP=pdo_pgsql,pgsql
-SQLITE_USE= PHP=pdo_sqlite,sqlite3
SMB_RUN_DEPENDS=${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR}
+SQLITE_USE= PHP=pdo_sqlite,sqlite3
SSL_USE= PHP=openssl
do-install: