2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2012/10/28 06:30:57 asau Exp $
|
2011-12-11 15:29:20 +01:00
|
|
|
#
|
|
|
|
|
2012-08-16 18:05:07 +02:00
|
|
|
DISTNAME= owncloud-4.0.7
|
2011-12-11 15:29:20 +01:00
|
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://owncloud.org/releases/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
|
|
HOMEPAGE= http://owncloud.org/
|
|
|
|
COMMENT= Web services under your control
|
|
|
|
LICENSE= gnu-agpl-v3
|
|
|
|
|
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
|
|
|
|
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-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}
|
|
|
|
|
|
|
|
BUILD_DEFS+= APACHE_GROUP APACHE_USER
|
|
|
|
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
|
|
|
|
OC_DIR=${OC_DIR}
|
|
|
|
|
|
|
|
do-install:
|
2012-05-15 22:18:34 +02:00
|
|
|
cd ${WRKSRC} && pax -rw -pmp * .htaccess \
|
2011-12-11 15:29:20 +01:00
|
|
|
${DESTDIR}${PREFIX}/${OC_DIR}
|
|
|
|
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|