aboutsummaryrefslogtreecommitdiff
path: root/www/owncloud
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2015-08-15 15:28:49 +0000
committerKevin Lo <kevlo@FreeBSD.org>2015-08-15 15:28:49 +0000
commit01544d40ec37aeaeaf3c9dac922d276d9d54c3aa (patch)
treead5e66c6a4b8c64d76fab3838af677efe2ec484e /www/owncloud
parent3a7d5df1a063a54c4e2ed3d4dd4b817f1676e6ab (diff)
downloadports-01544d40ec37aeaeaf3c9dac922d276d9d54c3aa.tar.gz
ports-01544d40ec37aeaeaf3c9dac922d276d9d54c3aa.zip
Notes
Diffstat (limited to 'www/owncloud')
-rw-r--r--www/owncloud/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile
index ed1653c7effa..d50a7ba8b6f7 100644
--- a/www/owncloud/Makefile
+++ b/www/owncloud/Makefile
@@ -2,6 +2,7 @@
PORTNAME= owncloud
PORTVERSION= 8.1.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.owncloud.org/community/
@@ -16,6 +17,7 @@ USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv json \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl wddx zip zlib
WANT_PHP_WEB= yes
+USE_OPENSSL= yes
OWNCLOUD_USERNAME?= ${WWWOWN}
OWNCLOUD_GROUPNAME?= ${WWWGRP}
@@ -44,11 +46,18 @@ PGSQL_USE= PHP=pdo_pgsql,pgsql
SQLITE_USE= PHP=pdo_sqlite,sqlite3
SSL_USE= PHP=openssl
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000
+WITH_OPENSSL_PORT= yes
+.endif
+
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
post-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
+ ${CHMOD} +x ${STAGEDIR}${WWWDIR}/occ
.include <bsd.port.mk>