pkgsrc/www/php-owncloud/Makefile
ryoon b910810f71 Update to 8.0.3
Version 8.0.3 May 1st 2015
Fix several Constrain Violation Exceptions
Fix misleading Maintenance mode message
Timezone fixes for countries with 0.5 and 0.75 offsets
Fix usage of default share folder location
Reenable trashbin after failed rename
Fix disabling of APCu
Do not show update notification on mobile
Fix "Only variables should be passed by reference" error log spam
Add timeout to curl
Makes repair errors and warnings visible for the user when upgrading on the command line or in the web UI
Cron shall not operate in case we are in maintenance mode
Disable the cache updater when doing the encryption migration
Fix "Error while updating app" error
Internal Server Error after attempting to do "occ files:scan"
Several smaller fixes
2015-05-31 00:16:33 +00:00

89 lines
2.7 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2015/05/31 00:16:33 ryoon Exp $
#
DISTNAME= owncloud-8.0.3
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://download.owncloud.org/community/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://owncloud.org/
COMMENT= Web services under your control
LICENSE= gnu-agpl-v3
OC_APPS_SITE= https://apps.owncloud.com/CONTENT/content-files/
OC_CALENDAR_APP= 168707-calendar.zip
OC_CONTACT_APP= 168708-contacts.zip
DISTFILES= ${DEFAULT_DISTFILES} \
${OC_CALENDAR_APP} \
${OC_CONTACT_APP}
SITES.${OC_CALENDAR_APP}= ${OC_APPS_SITE}
SITES.${OC_CONTACT_APP}= ${OC_APPS_SITE}
DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.3.0:../../textproc/php-dom
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.3.0:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.3.0:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.3.0:../../archivers/php-zlib
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.3.0:../../databases/php-pdo
.include "options.mk"
WRKSRC= ${WRKDIR}/owncloud
USE_LANGUAGES= # none
NO_BUILD= yes
USE_TOOLS+= bash:run pax perl:run
OC_DIR= share/owncloud
INSTALLATION_DIRS= ${OC_DIR}
REPLACE_BASH+= 3rdparty/*/*/*/*
REPLACE_BASH+= apps/*/*/*
REPLACE_BASH+= apps/*/*/*/*
REPLACE_BASH+= core/img/image-optimization.sh
REPLACE_PERL+= apps/*/*/*
REPLACE_PERL+= l10n/l10n.pl
REPLACE_PYTHON+= 3rdparty/*/*/*/*
# for php interpreter
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/doctrine/dbal/bin/doctrine-dbal
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/dompdf/load_font.php
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/phpdocx/pdf/load_font.php
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/sabre/vobject/bin/*
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/apps/contacts/vendor/blueimp-tmpl/js/compile.js
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/occ
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= nginx
APACHE_GROUP?= nginx
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
OC_DIR=${OC_DIR}
do-install:
cd ${WRKDIR} && ${FIND} owncloud -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share
cd ${WRKDIR} && ${FIND} calendar -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share/owncloud/apps
cd ${WRKDIR} && ${FIND} contacts -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share/owncloud/apps
.include "../../lang/php/phpversion.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"