1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/www/nextcloud-calendar/Makefile
Bernard Spil a468a91e5c www/nextcloud-calendar: Add nextcloud Notes app
- Fix pkg-descr of calendar app while here
2017-12-05 21:05:12 +00:00

36 lines
885 B
Makefile

# Created by: Bernard Spil <brnrd@freebsd.org>
# $FreeBSD$
PORTNAME= calendar
PORTVERSION= 1.5.6
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
MAINTAINER= brnrd@freebsd.org
COMMENT= Calendar app for Nextcloud
LICENSE= AGPLv3
RUN_DEPENDS= nextcloud>=12:www/nextcloud
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/${PORTNAME}
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>