freebsd-ports/mail/nextcloud-mail/Makefile
Bernard Spil a142a4628d mail/nextcloud-mail: Update to 0.7.10
- Compatibility with Nextcloud 13
2018-02-26 08:37:26 +00:00

38 lines
913 B
Makefile

# Created by: Bernard Spil <brnrd@freebsd.org>
# $FreeBSD$
PORTNAME= mail
PORTVERSION= 0.7.10
DISTVERSIONPREFIX= v
CATEGORIES= mail
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= Mail app for Nextcloud
LICENSE= AGPLv3
RUN_DEPENDS= nextcloud>=12:www/nextcloud
USES= gettext php
USE_PHP= imap
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>