summaryrefslogtreecommitdiffstats
path: root/java/jgraphx/Makefile
blob: a770b95a13958303eed7fab35c20a1bf02d6e503 (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
# $FreeBSD$

PORTNAME=	jgraphx
PORTVERSION=	2.5.1.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	java graphics

MAINTAINER=	makc@FreeBSD.org
COMMENT=	The Java Graph Diagram Component version X (jgraph v6+)

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/license.txt

USE_GITHUB=	yes
GH_ACCOUNT=	jgraph
USE_JAVA=	yes

PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS=	*

OPTIONS_DEFINE=	COMPILE DOCS

COMPILE_DESC=	Compile from source instead of using provided binary
COMPILE_USE=	ANT=yes

do-build:
	@${DO_NADA}

do-build-COMPILE-on:
	@(cd ${BUILD_WRKSRC}; \
		${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${ALL_TARGET})

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>
OpenPOWER on IntegriCloud