summaryrefslogtreecommitdiff
path: root/parallel/GridSim/Makefile
blob: 8762ed04ff41aef34da1e5b621f5225b55698544 (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
# $NetBSD: Makefile,v 1.11 2008/05/26 02:13:23 joerg Exp $
#

DISTNAME=		gridsimtoolkit-3.0
PKGNAME=		GridSim-3.0.2
PKGREVISION=		2
CATEGORIES=		parallel devel java
MASTER_SITES=		http://www.gridbus.org/gridsim/download/
DISTFILES=		${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-patch2${EXTRACT_SUFX}
EXTRACT_SUFX=		.zip

MAINTAINER=		jschauma@NetBSD.org
HOMEPAGE=		http://www.gridbus.org/gridsim/
COMMENT=		Toolkit for simulation of parallel systems

USE_TOOLS+=	pax
USE_JAVA2=		1.4
PKG_JVMS_ACCEPTED=	sun-jdk14 jdk14
NO_BUILD=		yes

do-configure:
	${CHMOD} -R a+rX ${WRKSRC}

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/GridSim
	cd ${WRKSRC} && pax -rw application jars source ${PREFIX}/GridSim/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/GridSim
	cd ${WRKSRC}/doc && pax -rw . ${PREFIX}/share/doc/html/GridSim
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/GridSim
.for f in bugfix changelog faq readme
	${INSTALL_DATA} ${WRKSRC}/${f}.txt ${PREFIX}/share/doc/GridSim/
.endfor
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/GridSim
	cd ${WRKSRC}/examples && pax -rw . ${PREFIX}/share/examples/GridSim
	cd ${WRKSRC}-patch2/doc && pax -rw . ${PREFIX}/share/doc/html/GridSim
	cd ${WRKSRC}-patch2/jars && pax -rw . ${PREFIX}/GridSim/jars/
	cd ${WRKSRC}-patch2/source && pax -rw . ${PREFIX}/GridSim/source/
	${INSTALL_DATA} ${WRKSRC}-patch2/readme_v3.0-patch2.txt ${PREFIX}/share/doc/GridSim/

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"