blob: 2219f78045a0a4d7da19b568c65a03a160e697d3 (
plain)
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
36
37
38
39
40
41
42
|
# Ports collection makefile for: umlgraph
# Date created: 15 February, 2010
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= umlgraph
PORTVERSION= 5.4
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://www.umlgraph.org/
DISTNAME= UMLGraph-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= An automated drawing of UML diagrams
LICENSE= BSD
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
pic2plot:${PORTSDIR}/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}/bin/umlgraph
do-install:
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/lib/UmlGraph.jar ${JAVAJARDIR}/
@${INSTALL_SCRIPT} ${WRKSRC}/bin/umlgraph ${PREFIX}/bin
.include <bsd.port.mk>
|