mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
12dcebe127
Changes: https://owncloud.org/changelog/server/ https://doc.owncloud.org/server/admin_manual/release_notes.html
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# Created by: Kevin Lo <kevlo@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= owncloud
|
|
PORTVERSION= 10.3.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://download.owncloud.org/community/ \
|
|
LOCAL/sunpoet
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Personal cloud which runs on your own server
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
IGNORE_WITH_PHP= 74
|
|
|
|
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
|
|
|
|
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
|
|
LDAP_USE= PHP=ldap
|
|
MYSQL_USE= PHP=pdo_mysql
|
|
PGSQL_USE= PHP=pdo_pgsql
|
|
SMB_RUN_DEPENDS=${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR}
|
|
SQLITE_USE= PHP=pdo_sqlite
|
|
SSL_USE= PHP=openssl
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/
|
|
${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}/
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}/data
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKDIR}/newsyslog ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|