- WWWDIR/apps to WWWDIR/apps-pkg - Bump portrevision to force reinstall - Update Nextcloud version dependencies PR: 227133
38 lines
941 B
Makefile
38 lines
941 B
Makefile
# Created by: Bernard Spil <brnrd@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= notes
|
|
PORTVERSION= 2.3.2
|
|
PORTREVISION= 1
|
|
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= Notes app for Nextcloud
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= nextcloud>=9:www/nextcloud
|
|
|
|
USES= php
|
|
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>
|