diff options
Diffstat (limited to 'textproc/opensearch-dashboards/Makefile')
-rw-r--r-- | textproc/opensearch-dashboards/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile index 2f462a21baed..becc2589adc5 100644 --- a/textproc/opensearch-dashboards/Makefile +++ b/textproc/opensearch-dashboards/Makefile @@ -1,7 +1,7 @@ PORTNAME= opensearch-dashboards -DISTVERSION?= 2.17.1 -PORTREVISION?= 1 +DISTVERSION?= 3.1.0 DISTVERSIONSUFFIX= -linux-x64 +PORTREVISION?= 0 CATEGORIES= textproc www MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ @@ -12,31 +12,26 @@ WWW= https://opensearch.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -CONFLICTS?= opensearch-dashboards210 opensearch-dashboards213 opensearch-dashboards216 - -BUILD_DEPENDS= npm-node18>0:www/npm-node18 +BUILD_DEPENDS= npm-node20>0:www/npm-node20 -USES= nodejs:18,build,run python:build +USES= nodejs:20,build,run python:build USE_RC_SUBR= ${PORTNAME} +CONFLICTS?= opensearch-dashboards210 opensearch-dashboards213 opensearch-dashboards216 + +NO_ARCH= yes +NO_BUILD= yes SUB_FILES= pkg-deinstall SUB_LIST= PORTNAME="${PORTNAME}" \ PKGNAMESUFFIX="${PKGNAMESUFFIX}" \ WWWDIR=${WWWDIR} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -NODE_VER= 18.18.0 -NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} _DEVDIR= ${WRKDIR}/.devdir post-patch: - @${REINPLACE_CMD} -e 's|14.20.1|${NODE_VER}|g' ${WRKSRC}/package.json - ${RM} \ - ${WRKSRC}/bin/*.orig \ - ${WRKSRC}/bin/*.bak \ - ${WRKSRC}/package.json.bak + ${RM} ${WRKSRC}/bin/*.orig ${WRKSRC}/bin/*.bak ${RM} -r ${WRKSRC}/plugins/reportsDashboards/.chromium do-install: |