1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Add PHP flavor

- Cosmetic change

PR:		235116
Requested by:	Christian Ludwig <chrissicool@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-01-30 19:22:34 +00:00
parent 9d4ea56f5b
commit 518051111c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491651

View File

@ -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: