mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
36 lines
883 B
Makefile
36 lines
883 B
Makefile
# Created by: Bernard Spil <brnrd@freebsd.org>
|
|
|
|
PORTNAME= circles
|
|
PORTVERSION= 0.21.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/v${PORTVERSION}/
|
|
PKGNAMEPREFIX= nextcloud-
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= Circles app for Nextcloud
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR}
|
|
|
|
USES= php:flavors
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
NEXTCLOUD_USERNAME?= ${WWWOWN}
|
|
NEXTCLOUD_GROUPNAME?= ${WWWGRP}
|
|
|
|
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
|
|
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}
|
|
|
|
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|