git: 0ee8ae56c6c3 - main - graphics/plantuml: added an ability to pass command line flags

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 17:10:37 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ee8ae56c6c3352cdc585f21670aad440772c375

commit 0ee8ae56c6c3352cdc585f21670aad440772c375
Author:     awoonya <awoonyaa@gmail.com>
AuthorDate: 2024-02-24 19:30:25 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-25 17:09:19 +0000

    graphics/plantuml: added an ability to pass command line flags
    
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/239
---
 graphics/plantuml/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/plantuml/Makefile b/graphics/plantuml/Makefile
index d0c82ea4f56e..85b811e405fd 100644
--- a/graphics/plantuml/Makefile
+++ b/graphics/plantuml/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	plantuml
 PORTVERSION=	1.2024.0
+PORTREVISION=	1
 CATEGORIES=	graphics java textproc
 MASTER_SITES=	https://github.com/plantuml/plantuml/releases/download/v${PORTVERSION}/
 EXTRACT_SUFX=	.jar
@@ -20,7 +21,7 @@ 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
+	${ECHO} '${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar $$*' >> ${WRKDIR}/plantum.sh
 
 do-install:
 	${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}