blob: d94cbb76492abd62e37f8fc238e241df70b2bc92 (
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
|
# $NetBSD: Makefile,v 1.19 2006/03/04 21:30:18 jlam Exp $
#
DISTNAME= Flan
PKGNAME= flan-1.1rc1
PKGREVISION= 1
CATEGORIES= net java
MASTER_SITES= http://picolibre.enst-bretagne.fr/projects/flan/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://picolibre.enst-bretagne.fr/projects/flan/index.html
COMMENT= Simulator for IP networks written in Java
WRKSRC= ${WRKDIR}/src
USE_JAVA= yes
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
post-build:
cd ${WRKSRC} ; ${PKG_JAVA_HOME}/bin/jar cf flan.jar flan/ graphic/
${SED} -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g' \
-e 's,@PREFIX@,${PREFIX},g' \
< ${FILESDIR}/flan > ${WRKDIR}/flan
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/java/flan
${INSTALL_DATA} ${WRKSRC}/xmlcode.jar ${PREFIX}/lib/java/flan
${INSTALL_DATA} ${WRKSRC}/xalan2.jar ${PREFIX}/lib/java/flan
${INSTALL_DATA} ${WRKSRC}/crimson.jar ${PREFIX}/lib/java/flan
${INSTALL_DATA} ${WRKSRC}/flan.jar ${PREFIX}/lib/java/flan
${INSTALL_SCRIPT} ${WRKDIR}/flan ${PREFIX}/bin
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|