blob: c7faa68cbb3db1e4323bb1e3ef9f4187c0686f77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.15 2012/07/10 13:20:19 ryoon Exp $
#
DISTNAME= owncloud-4.0.4
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
PKG_DESTDIR_SUPPORT= user-destdir
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}-xml>=5.3.0:../../textproc/php-xml
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip
.include "options.mk"
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:
cd ${WRKSRC} && pax -rw -pmp * .htaccess \
${DESTDIR}${PREFIX}/${OC_DIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
|