aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2021-07-07 14:21:37 +0000
committerBernard Spil <brnrd@FreeBSD.org>2021-07-07 14:21:37 +0000
commitcf922d031fe37b20ab6d9a63127c660763c1c181 (patch)
tree715b7a3af3a0c09e89860815f68067c1d38aa351
parentc2ee3e51c204cc0e135d9f074d175f78d502ce05 (diff)
downloadports-cf922d031fe37b20ab6d9a63127c660763c1c181.tar.gz
ports-cf922d031fe37b20ab6d9a63127c660763c1c181.zip
www/nextcloud-notes: Update to 4.1.0
* Auto-generate plist * Harmonize Nextcloud apps ports
-rw-r--r--www/nextcloud-notes/Makefile18
-rw-r--r--www/nextcloud-notes/distinfo6
-rw-r--r--www/nextcloud-notes/pkg-plist237
3 files changed, 10 insertions, 251 deletions
diff --git a/www/nextcloud-notes/Makefile b/www/nextcloud-notes/Makefile
index 70c100ba70b0..3bdb561eefad 100644
--- a/www/nextcloud-notes/Makefile
+++ b/www/nextcloud-notes/Makefile
@@ -1,14 +1,14 @@
# Created by: Bernard Spil <brnrd@freebsd.org>
PORTNAME= notes
-PORTVERSION= 4.0.4
+PORTVERSION= 4.1.0
DISTVERSIONPREFIX= v
CATEGORIES= www editors
-MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
+MASTER_SITES= https://github.com/nextcloud/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
-DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
+DIST_SUBDIR= nextxloud/${PORTNAME}-${DISTVERSION}
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Notes app for Nextcloud
@@ -22,16 +22,12 @@ USES= php:flavors
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})
+ @${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>
diff --git a/www/nextcloud-notes/distinfo b/www/nextcloud-notes/distinfo
index 190cfa6c0db9..b0b08b790643 100644
--- a/www/nextcloud-notes/distinfo
+++ b/www/nextcloud-notes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615112291
-SHA256 (nextcloud/notes-v4.0.4/notes.tar.gz) = 83c547a1024de1a0d31b9a1b2374124882c9e85ca0bc0c9d8ced0d08db4e0397
-SIZE (nextcloud/notes-v4.0.4/notes.tar.gz) = 3793843
+TIMESTAMP = 1625667605
+SHA256 (nextxloud/notes-4.1.0/notes.tar.gz) = 6b1a7b06be2493bf0a115ee8439f0cab3b39710e2546707e593c15d284ba425e
+SIZE (nextxloud/notes-4.1.0/notes.tar.gz) = 4258267
diff --git a/www/nextcloud-notes/pkg-plist b/www/nextcloud-notes/pkg-plist
deleted file mode 100644
index b0881cbd3884..000000000000
--- a/www/nextcloud-notes/pkg-plist
+++ /dev/null
@@ -1,237 +0,0 @@
-%%WWWDIR%%/CHANGELOG.md
-%%WWWDIR%%/COPYING
-%%WWWDIR%%/README.md
-%%WWWDIR%%/appinfo/info.xml
-%%WWWDIR%%/appinfo/info.xsd
-%%WWWDIR%%/appinfo/routes.php
-%%WWWDIR%%/appinfo/signature.json
-%%WWWDIR%%/css/app-navigation.scss
-%%WWWDIR%%/css/global.scss
-%%WWWDIR%%/css/notes.scss
-%%WWWDIR%%/css/print.scss
-%%WWWDIR%%/docs/api/README.md
-%%WWWDIR%%/docs/api/v1.md
-%%WWWDIR%%/img/favicon-mask.svg
-%%WWWDIR%%/img/favicon-touch.png
-%%WWWDIR%%/img/favicon-touch.svg
-%%WWWDIR%%/img/favicon.ico
-%%WWWDIR%%/img/favicon.png
-%%WWWDIR%%/img/favicon.svg
-%%WWWDIR%%/img/folder-empty.svg
-%%WWWDIR%%/img/folder.svg
-%%WWWDIR%%/img/notes-trans.svg
-%%WWWDIR%%/img/notes.svg
-%%WWWDIR%%/img/recent.svg
-%%WWWDIR%%/js/notes-dashboard.js
-%%WWWDIR%%/js/notes-dashboard.js.map
-%%WWWDIR%%/js/notes-main.js
-%%WWWDIR%%/js/notes-main.js.map
-%%WWWDIR%%/l10n/.gitkeep
-%%WWWDIR%%/l10n/af.js
-%%WWWDIR%%/l10n/af.json
-%%WWWDIR%%/l10n/ar.js
-%%WWWDIR%%/l10n/ar.json
-%%WWWDIR%%/l10n/ast.js
-%%WWWDIR%%/l10n/ast.json
-%%WWWDIR%%/l10n/az.js
-%%WWWDIR%%/l10n/az.json
-%%WWWDIR%%/l10n/be.js
-%%WWWDIR%%/l10n/be.json
-%%WWWDIR%%/l10n/bg.js
-%%WWWDIR%%/l10n/bg.json
-%%WWWDIR%%/l10n/bn_BD.js
-%%WWWDIR%%/l10n/bn_BD.json
-%%WWWDIR%%/l10n/br.js
-%%WWWDIR%%/l10n/br.json
-%%WWWDIR%%/l10n/bs.js
-%%WWWDIR%%/l10n/bs.json
-%%WWWDIR%%/l10n/ca.js
-%%WWWDIR%%/l10n/ca.json
-%%WWWDIR%%/l10n/cs.js
-%%WWWDIR%%/l10n/cs.json
-%%WWWDIR%%/l10n/cy_GB.js
-%%WWWDIR%%/l10n/cy_GB.json
-%%WWWDIR%%/l10n/da.js
-%%WWWDIR%%/l10n/da.json
-%%WWWDIR%%/l10n/de.js
-%%WWWDIR%%/l10n/de.json
-%%WWWDIR%%/l10n/de_DE.js
-%%WWWDIR%%/l10n/de_DE.json
-%%WWWDIR%%/l10n/el.js
-%%WWWDIR%%/l10n/el.json
-%%WWWDIR%%/l10n/en_GB.js
-%%WWWDIR%%/l10n/en_GB.json
-%%WWWDIR%%/l10n/eo.js
-%%WWWDIR%%/l10n/eo.json
-%%WWWDIR%%/l10n/es.js
-%%WWWDIR%%/l10n/es.json
-%%WWWDIR%%/l10n/es_419.js
-%%WWWDIR%%/l10n/es_419.json
-%%WWWDIR%%/l10n/es_AR.js
-%%WWWDIR%%/l10n/es_AR.json
-%%WWWDIR%%/l10n/es_CL.js
-%%WWWDIR%%/l10n/es_CL.json
-%%WWWDIR%%/l10n/es_CO.js
-%%WWWDIR%%/l10n/es_CO.json
-%%WWWDIR%%/l10n/es_CR.js
-%%WWWDIR%%/l10n/es_CR.json
-%%WWWDIR%%/l10n/es_DO.js
-%%WWWDIR%%/l10n/es_DO.json
-%%WWWDIR%%/l10n/es_EC.js
-%%WWWDIR%%/l10n/es_EC.json
-%%WWWDIR%%/l10n/es_GT.js
-%%WWWDIR%%/l10n/es_GT.json
-%%WWWDIR%%/l10n/es_HN.js
-%%WWWDIR%%/l10n/es_HN.json
-%%WWWDIR%%/l10n/es_MX.js
-%%WWWDIR%%/l10n/es_MX.json
-%%WWWDIR%%/l10n/es_NI.js
-%%WWWDIR%%/l10n/es_NI.json
-%%WWWDIR%%/l10n/es_PA.js
-%%WWWDIR%%/l10n/es_PA.json
-%%WWWDIR%%/l10n/es_PE.js
-%%WWWDIR%%/l10n/es_PE.json
-%%WWWDIR%%/l10n/es_PR.js
-%%WWWDIR%%/l10n/es_PR.json
-%%WWWDIR%%/l10n/es_PY.js
-%%WWWDIR%%/l10n/es_PY.json
-%%WWWDIR%%/l10n/es_SV.js
-%%WWWDIR%%/l10n/es_SV.json
-%%WWWDIR%%/l10n/es_UY.js
-%%WWWDIR%%/l10n/es_UY.json
-%%WWWDIR%%/l10n/et_EE.js
-%%WWWDIR%%/l10n/et_EE.json
-%%WWWDIR%%/l10n/eu.js
-%%WWWDIR%%/l10n/eu.json
-%%WWWDIR%%/l10n/fa.js
-%%WWWDIR%%/l10n/fa.json
-%%WWWDIR%%/l10n/fi.js
-%%WWWDIR%%/l10n/fi.json
-%%WWWDIR%%/l10n/fr.js
-%%WWWDIR%%/l10n/fr.json
-%%WWWDIR%%/l10n/gl.js
-%%WWWDIR%%/l10n/gl.json
-%%WWWDIR%%/l10n/he.js
-%%WWWDIR%%/l10n/he.json
-%%WWWDIR%%/l10n/hr.js
-%%WWWDIR%%/l10n/hr.json
-%%WWWDIR%%/l10n/hu.js
-%%WWWDIR%%/l10n/hu.json
-%%WWWDIR%%/l10n/hy.js
-%%WWWDIR%%/l10n/hy.json
-%%WWWDIR%%/l10n/ia.js
-%%WWWDIR%%/l10n/ia.json
-%%WWWDIR%%/l10n/id.js
-%%WWWDIR%%/l10n/id.json
-%%WWWDIR%%/l10n/is.js
-%%WWWDIR%%/l10n/is.json
-%%WWWDIR%%/l10n/it.js
-%%WWWDIR%%/l10n/it.json
-%%WWWDIR%%/l10n/ja.js
-%%WWWDIR%%/l10n/ja.json
-%%WWWDIR%%/l10n/ka_GE.js
-%%WWWDIR%%/l10n/ka_GE.json
-%%WWWDIR%%/l10n/km.js
-%%WWWDIR%%/l10n/km.json
-%%WWWDIR%%/l10n/kn.js
-%%WWWDIR%%/l10n/kn.json
-%%WWWDIR%%/l10n/ko.js
-%%WWWDIR%%/l10n/ko.json
-%%WWWDIR%%/l10n/lb.js
-%%WWWDIR%%/l10n/lb.json
-%%WWWDIR%%/l10n/lt_LT.js
-%%WWWDIR%%/l10n/lt_LT.json
-%%WWWDIR%%/l10n/lv.js
-%%WWWDIR%%/l10n/lv.json
-%%WWWDIR%%/l10n/mk.js
-%%WWWDIR%%/l10n/mk.json
-%%WWWDIR%%/l10n/mn.js
-%%WWWDIR%%/l10n/mn.json
-%%WWWDIR%%/l10n/ms_MY.js
-%%WWWDIR%%/l10n/ms_MY.json
-%%WWWDIR%%/l10n/nb.js
-%%WWWDIR%%/l10n/nb.json
-%%WWWDIR%%/l10n/nl.js
-%%WWWDIR%%/l10n/nl.json
-%%WWWDIR%%/l10n/nn_NO.js
-%%WWWDIR%%/l10n/nn_NO.json
-%%WWWDIR%%/l10n/oc.js
-%%WWWDIR%%/l10n/oc.json
-%%WWWDIR%%/l10n/pl.js
-%%WWWDIR%%/l10n/pl.json
-%%WWWDIR%%/l10n/ps.js
-%%WWWDIR%%/l10n/ps.json
-%%WWWDIR%%/l10n/pt_BR.js
-%%WWWDIR%%/l10n/pt_BR.json
-%%WWWDIR%%/l10n/pt_PT.js
-%%WWWDIR%%/l10n/pt_PT.json
-%%WWWDIR%%/l10n/ro.js
-%%WWWDIR%%/l10n/ro.json
-%%WWWDIR%%/l10n/ru.js
-%%WWWDIR%%/l10n/ru.json
-%%WWWDIR%%/l10n/sc.js
-%%WWWDIR%%/l10n/sc.json
-%%WWWDIR%%/l10n/si.js
-%%WWWDIR%%/l10n/si.json
-%%WWWDIR%%/l10n/sk.js
-%%WWWDIR%%/l10n/sk.json
-%%WWWDIR%%/l10n/sl.js
-%%WWWDIR%%/l10n/sl.json
-%%WWWDIR%%/l10n/sq.js
-%%WWWDIR%%/l10n/sq.json
-%%WWWDIR%%/l10n/sr.js
-%%WWWDIR%%/l10n/sr.json
-%%WWWDIR%%/l10n/sr@latin.js
-%%WWWDIR%%/l10n/sr@latin.json
-%%WWWDIR%%/l10n/sv.js
-%%WWWDIR%%/l10n/sv.json
-%%WWWDIR%%/l10n/ta.js
-%%WWWDIR%%/l10n/ta.json
-%%WWWDIR%%/l10n/th.js
-%%WWWDIR%%/l10n/th.json
-%%WWWDIR%%/l10n/tr.js
-%%WWWDIR%%/l10n/tr.json
-%%WWWDIR%%/l10n/ug.js
-%%WWWDIR%%/l10n/ug.json
-%%WWWDIR%%/l10n/uk.js
-%%WWWDIR%%/l10n/uk.json
-%%WWWDIR%%/l10n/ur_PK.js
-%%WWWDIR%%/l10n/ur_PK.json
-%%WWWDIR%%/l10n/uz.js
-%%WWWDIR%%/l10n/uz.json
-%%WWWDIR%%/l10n/vi.js
-%%WWWDIR%%/l10n/vi.json
-%%WWWDIR%%/l10n/zh_CN.js
-%%WWWDIR%%/l10n/zh_CN.json
-%%WWWDIR%%/l10n/zh_HK.js
-%%WWWDIR%%/l10n/zh_HK.json
-%%WWWDIR%%/l10n/zh_TW.js
-%%WWWDIR%%/l10n/zh_TW.json
-%%WWWDIR%%/lib/AppInfo/Application.php
-%%WWWDIR%%/lib/AppInfo/BeforeTemplateRenderedListener.php
-%%WWWDIR%%/lib/AppInfo/Capabilities.php
-%%WWWDIR%%/lib/AppInfo/DashboardWidget.php
-%%WWWDIR%%/lib/AppInfo/NotesHooks.php
-%%WWWDIR%%/lib/AppInfo/SearchProvider.php
-%%WWWDIR%%/lib/Controller/Helper.php
-%%WWWDIR%%/lib/Controller/NotesApiController.php
-%%WWWDIR%%/lib/Controller/NotesController.php
-%%WWWDIR%%/lib/Controller/PageController.php
-%%WWWDIR%%/lib/Controller/SettingsController.php
-%%WWWDIR%%/lib/Db/Meta.php
-%%WWWDIR%%/lib/Db/MetaMapper.php
-%%WWWDIR%%/lib/Migration/Cleanup.php
-%%WWWDIR%%/lib/Migration/Version3005Date20200528204430.php
-%%WWWDIR%%/lib/Migration/Version3005Date20200528204431.php
-%%WWWDIR%%/lib/Service/InsufficientStorageException.php
-%%WWWDIR%%/lib/Service/MetaService.php
-%%WWWDIR%%/lib/Service/Note.php
-%%WWWDIR%%/lib/Service/NoteDoesNotExistException.php
-%%WWWDIR%%/lib/Service/NoteUtil.php
-%%WWWDIR%%/lib/Service/NotesFolderException.php
-%%WWWDIR%%/lib/Service/NotesService.php
-%%WWWDIR%%/lib/Service/SettingsService.php
-%%WWWDIR%%/lib/Service/TagService.php
-%%WWWDIR%%/lib/Service/Util.php
-%%WWWDIR%%/templates/dev-mode.php
-%%WWWDIR%%/templates/main.php