1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/mail/nextcloud-mail/Makefile
2018-01-23 13:35:37 +00:00

39 lines
908 B
Makefile

# Created by: Bernard Spil <brnrd@freebsd.org>
# $FreeBSD$
PORTNAME= mail
PORTVERSION= 0.7.9
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
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>