ports/java/jgraphx/Makefile
Muhammad Moinur Rahman ac7a7d6fe1
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.

Thanks to vvd for carefully going through this.

Reported by:	vvd
Approved by:	portmgr (blanket)
2024-12-31 15:39:30 +01:00

33 lines
671 B
Makefile

PORTNAME= jgraphx
PORTVERSION= 4.2.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= java graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Java Graph Diagram Component version X
WWW= https://github.com/jgraph/jgraphx
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
USES= java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= jgraph
NO_ARCH= yes
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>