1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/umlgraph/Makefile
Mathieu Arnold 99761d7f4c Convert every usage of https://github.com/.../archive/xxx to USE_GITHUB.
While there, fix small style issues.

Sponsored by:	Absolight
2017-06-06 16:18:16 +00:00

38 lines
831 B
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= umlgraph
DISTVERSIONPREFIX= R
DISTVERSION= 5_7_2
CATEGORIES= devel java
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Automated drawing of UML diagrams
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>