2013-11-22 15:34:33 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2013/11/22 14:34:33 ryoon Exp $
|
2011-12-11 15:29:20 +01:00
|
|
|
#
|
|
|
|
|
2013-11-22 15:34:33 +01:00
|
|
|
DISTNAME= owncloud-5.0.13
|
2011-12-11 15:29:20 +01:00
|
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= www
|
2013-03-20 14:11:46 +01:00
|
|
|
MASTER_SITES= http://download.owncloud.org/community/
|
2011-12-11 15:29:20 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
|
|
HOMEPAGE= http://owncloud.org/
|
|
|
|
COMMENT= Web services under your control
|
2013-03-04 22:57:21 +01:00
|
|
|
LICENSE= gnu-agpl-v3
|
2011-12-11 15:29:20 +01:00
|
|
|
|
2013-11-22 15:34:33 +01:00
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
|
2012-07-10 15:20:19 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.3.0:../../textproc/php-dom
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
|
2012-11-27 13:11:36 +01:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.3.0:../../converters/php-iconv
|
2012-07-10 15:20:19 +02:00
|
|
|
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
|
2012-11-07 22:30:45 +01:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.3.0:../../archivers/php-zlib
|
2013-03-16 18:27:27 +01:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.3.0:../../databases/php-pdo
|
2012-06-16 07:28:07 +02:00
|
|
|
|
2011-12-18 09:38:14 +01:00
|
|
|
.include "options.mk"
|
2011-12-11 15:29:20 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/owncloud
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
|
|
|
OC_DIR= share/owncloud
|
|
|
|
INSTALLATION_DIRS= ${OC_DIR}
|
|
|
|
|
2012-12-24 02:40:59 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2012-12-24 02:27:35 +01:00
|
|
|
APACHE_USER?= www
|
|
|
|
APACHE_GROUP?= www
|
|
|
|
PKG_GROUPS= ${APACHE_GROUP}
|
|
|
|
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
|
|
|
|
|
2012-12-24 02:40:59 +01:00
|
|
|
PKG_USERS_VARS= APACHE_USER
|
|
|
|
PKG_GROUPS_VARS= APACHE_GROUP
|
2012-12-24 02:27:35 +01:00
|
|
|
|
2011-12-11 15:29:20 +01:00
|
|
|
BUILD_DEFS+= APACHE_GROUP APACHE_USER
|
|
|
|
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
|
|
|
|
OC_DIR=${OC_DIR}
|
|
|
|
|
|
|
|
do-install:
|
2013-03-19 15:33:11 +01:00
|
|
|
cd ${WRKDIR} && ${FIND} owncloud -type f \! -name '*.orig' -print | \
|
|
|
|
pax -rw -pmp ${DESTDIR}${PREFIX}/share
|
2011-12-11 15:29:20 +01:00
|
|
|
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|