blob: dc42edfb9c44f2a1cb0b336441c3d7707203c367 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PORTNAME= umlgraph
DISTVERSIONPREFIX= R
DISTVERSION= 5_7_2
CATEGORIES= devel java
MAINTAINER= ports@FreeBSD.org
COMMENT= Automated drawing of UML diagrams
WWW= https://www.umlgraph.org/
LICENSE= BSD3CLAUSE
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.8
USE_GITHUB= yes
GH_ACCOUNT= dspinellis
GH_PROJECT= UMLGraph
BUILD_DEPENDS= dot:graphics/graphviz \
pic2plot:graphics/plotutils
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_FILES= bin/umlgraph %%JAVAJARDIR%%/UmlGraph.jar
post-configure:
${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|; \
s|%%JAVAJARDIR%%|${JAVAJARDIR}|' \
${WRKSRC}/umlgraph
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/lib/UmlGraph.jar ${STAGEDIR}${JAVAJARDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/umlgraph ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|