Date: Thu, 8 Feb 2024 20:08:09 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8a8f49203fc2 - main - graphics/plantuml: new port Message-ID: <202402082008.418K897Y076875@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a8f49203fc2f3065967c20e99c25333fb96f733 commit 8a8f49203fc2f3065967c20e99c25333fb96f733 Author: awoonya <awoonyaa@gmail.com> AuthorDate: 2024-02-07 21:12:16 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-02-08 20:07:24 +0000 graphics/plantuml: new port --- graphics/Makefile | 1 + graphics/plantuml/Makefile | 30 ++++++++++++++++++++++++++++++ graphics/plantuml/distinfo | 3 +++ graphics/plantuml/pkg-descr | 5 +++++ 4 files changed, 39 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index b2205342d668..e32cd338535f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -802,6 +802,7 @@ SUBDIR += pixelize SUBDIR += pixen SUBDIR += pixie + SUBDIR += plantuml SUBDIR += plasma-kmod SUBDIR += plotutils SUBDIR += png diff --git a/graphics/plantuml/Makefile b/graphics/plantuml/Makefile new file mode 100644 index 000000000000..d0c82ea4f56e --- /dev/null +++ b/graphics/plantuml/Makefile @@ -0,0 +1,30 @@ +PORTNAME= plantuml +PORTVERSION= 1.2024.0 +CATEGORIES= graphics java textproc +MASTER_SITES= https://github.com/plantuml/plantuml/releases/download/v${PORTVERSION}/ +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Application for swift and straightforward diagram creation +WWW= https://plantuml.com/ + +LICENSE= GPLv3 + +USE_JAVA= yes + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/${PORTNAME}.jar bin/${PORTNAME} + +pre-install: + ${ECHO} "#!/bin/sh" > ${WRKDIR}/plantum.sh + ${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar" >> ${WRKDIR}/plantum.sh + +do-install: + ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} + ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar + ${INSTALL_SCRIPT} ${WRKDIR}/plantum.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/graphics/plantuml/distinfo b/graphics/plantuml/distinfo new file mode 100644 index 000000000000..cd958663f990 --- /dev/null +++ b/graphics/plantuml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707314954 +SHA256 (plantuml-1.2024.0.jar) = 29c2c9004a4145711f258daea1aea97dea3559bd8b2471252870aa1672b8cfd6 +SIZE (plantuml-1.2024.0.jar) = 11796550 diff --git a/graphics/plantuml/pkg-descr b/graphics/plantuml/pkg-descr new file mode 100644 index 000000000000..ededa3c73c01 --- /dev/null +++ b/graphics/plantuml/pkg-descr @@ -0,0 +1,5 @@ +PlantUML is an open-source tool allowing users to create diagrams from a plain +text language. Besides various UML diagrams, PlantUML has support for various +other software development related formats (such as Archimate, Block diagram, +BPMN, C4, Computer network diagram, ERD, Gantt chart, Mind map, and WBD), as +well as visualisation of JSON and YAML files.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402082008.418K897Y076875>