1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/nextcloud-appointments/Makefile
2021-08-08 20:01:22 +00:00

36 lines
924 B
Makefile

# Created by: Bernard Spil <brnrd@freebsd.org>
PORTNAME= appointments
PORTVERSION= 1.10.0
CATEGORIES= www
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/raw/${GH_TAGNAME}/build/artifacts/appstore/
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= nextcloud/${PORTNAME}-${DISTVERSION}
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Appointments app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=19:www/nextcloud@${PHP_FLAVOR}
USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
GH_ACCOUNT= SergeyMosin
GH_TAGNAME= 9f19237a
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
@(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \
${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST}
.include <bsd.port.mk>