diff options
author | mat <mat@FreeBSD.org> | 2017-06-07 19:52:49 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-06-07 19:52:49 +0800 |
commit | 89f993ff5846baa619a29b57efac9dc72adbdafa (patch) | |
tree | 7127135e8fdfebba5c83ca7616e433d764b71ab0 /www/owncloud/Makefile | |
parent | e19b309a670f8636bebede43b606c5c2c5c4fda8 (diff) | |
download | freebsd-ports-gnome-89f993ff5846baa619a29b57efac9dc72adbdafa.tar.gz freebsd-ports-gnome-89f993ff5846baa619a29b57efac9dc72adbdafa.tar.zst freebsd-ports-gnome-89f993ff5846baa619a29b57efac9dc72adbdafa.zip |
Add a newsyslog configuration file for rotating owncloud's log file.
While there, make the "occ" script executable, many owncloud
documentation tell you to run ./occ, it makes it easier. Also, clean all
the deprecated stuff.
PR: 219503
Submitted by: mat
Approved by: maintainer timeout
Sponsored by: Absolight
Diffstat (limited to 'www/owncloud/Makefile')
-rw-r--r-- | www/owncloud/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile index c4ac6f53b386..36195fbf8314 100644 --- a/www/owncloud/Makefile +++ b/www/owncloud/Makefile @@ -11,11 +11,10 @@ COMMENT= Personal cloud which runs on your own server LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe tar:bzip2 ssl +USES= cpe tar:bzip2 ssl php:web 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 -WANT_PHP_WEB= yes OWNCLOUD_USERNAME?= ${WWWOWN} OWNCLOUD_GROUPNAME?= ${WWWGRP} @@ -23,7 +22,7 @@ OWNCLOUD_GROUPNAME?= ${WWWGRP} WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes -SUB_FILES= pkg-message +SUB_FILES= pkg-message newsyslog PLIST_SUB= OWNCLOUD_USERNAME=${OWNCLOUD_USERNAME} \ OWNCLOUD_GROUPNAME=${OWNCLOUD_GROUPNAME} @@ -36,7 +35,8 @@ EXIF_DESC= Image rotation support EXIF_USE= PHP=exif LDAP_USE= PHP=ldap -MYSQL_USE= MYSQL=client PHP=pdo_mysql +MYSQL_USE= PHP=pdo_mysql +MYSQL_USES= mysql PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql,pgsql SQLITE_USE= PHP=pdo_sqlite,sqlite3 @@ -48,5 +48,7 @@ do-install: @cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}/data + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/ + ${INSTALL_DATA} ${WRKDIR}/newsyslog ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |