pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

plantuml: Import 1.2021.14



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Thu Nov 25 13:08:35 2021 +0100
Changeset:	4818fae99dcf99842d795dfb8679e37d0b070791

Modified Files:
	Makefile
Added Files:
	plantuml/DESCR
	plantuml/Makefile
	plantuml/PLIST
	plantuml/distinfo

Log Message:
plantuml: Import 1.2021.14

PlantUML is a component that allows to quickly write diagrams.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4818fae99dcf99842d795dfb8679e37d0b070791

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |  1 +
 plantuml/DESCR    |  7 +++++++
 plantuml/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
 plantuml/PLIST    |  3 +++
 plantuml/distinfo |  6 ++++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 831d7996fd..dbb97721f3 100644
--- a/Makefile
+++ b/Makefile
@@ -3196,6 +3196,7 @@ SUBDIR+=	pkgmanager
 SUBDIR+=	plan9port
 SUBDIR+=	plank
 SUBDIR+=	plantri
+SUBDIR+=	plantuml
 SUBDIR+=	plasma-desktop
 SUBDIR+=	plasma-integration
 SUBDIR+=	plasma-widget-menubar
diff --git a/plantuml/DESCR b/plantuml/DESCR
new file mode 100644
index 0000000000..8a68c78c99
--- /dev/null
+++ b/plantuml/DESCR
@@ -0,0 +1,7 @@
+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.
diff --git a/plantuml/Makefile b/plantuml/Makefile
new file mode 100644
index 0000000000..6079b82b40
--- /dev/null
+++ b/plantuml/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD$
+
+DISTNAME=	plantuml-nodot.1.2021.14.jar
+PKGNAME=	${DISTNAME:S/nodot.//:S/.jar//}
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=plantuml/}
+EXTRACT_SUFX=	#none
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://plantuml.sourceforge.net/
+COMMENT=	Create some UML diagram using a simple description language
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	# none
+USE_JAVA=	run
+
+NO_CONFIGURE=		yes
+
+INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS+=	share/plantuml
+
+do-build:
+	${PRINTF} '%s\n\n' '#! ${SH}' > ${WRKDIR}/plantuml
+	${PRINTF} '%s\n%s\n%s %s %s %s\n'					\
+		'HEADLESS='							\
+		'[ -z "$$DISPLAY" ] && HEADLESS=-Djava.awt.headless=true'	\
+		'${PKG_JAVA_HOME}/bin/java'					\
+		'$$HEADLESS'							\
+		'-jar ${DESTDIR}${PREFIX}/share/plantuml/${DISTNAME}'		\
+		'"$$@"' >>${WRKDIR}/plantuml
+
+do-install:
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}	\
+		${DESTDIR}${PREFIX}/share/plantuml/${DISTNAME}
+	${INSTALL_SCRIPT} ${WRKDIR}/plantuml ${DESTDIR}${PREFIX}/bin/plantuml
+
+.include "../../graphics/graphviz//buildlink3.mk"
+.include "../../mk/java-vm.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/plantuml/PLIST b/plantuml/PLIST
new file mode 100644
index 0000000000..befc40e096
--- /dev/null
+++ b/plantuml/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/plantuml
+share/plantuml/plantuml-nodot.1.2021.14.jar
diff --git a/plantuml/distinfo b/plantuml/distinfo
new file mode 100644
index 0000000000..9a0c902b7a
--- /dev/null
+++ b/plantuml/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (plantuml-nodot.1.2021.14.jar) = edf7d0f8b0598d5a65e53be06be9d9da5b0b4a47
+RMD160 (plantuml-nodot.1.2021.14.jar) = a740d62f068351505ba21800fbb136b968055fac
+SHA512 (plantuml-nodot.1.2021.14.jar) = 2903771f33903bce348f7a59edecebd94ffd3fe10a5724a8b816c69782511f5f5a20770dffee59a0fd39dfa3762c710dfd789eabb2a577a1a9b0298065881692
+Size (plantuml-nodot.1.2021.14.jar) = 8213214 bytes


Home | Main Index | Thread Index | Old Index