blob: e13889bddd440c9f11388ab5a9ccf5094fe638ef (
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
|
# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:28 tv Exp $
#
DISTNAME= ltsa2.2
PKGNAME= ${DISTNAME:S/ltsa/ltsa-/}
CATEGORIES= devel
MASTER_SITES= http://www.doc.ic.ac.uk/~jnm/book/ltsa-v2/
EXTRACT_SUFX= .zip
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.doc.ic.ac.uk/~jnm/book/ltsa-v2/
COMMENT= Labelled Transition System Analyser
NO_CONFIGURE= YES
USE_JAVA2= YES
INSTALLATION_DIRS= bin
do-build:
@${ECHO} "Generating ltsa.sh script..."
@${ECHO} '#!${SH}' >${WRKSRC}/ltsa.sh
@${ECHO} '${ULIMIT_CMD_datasize}' >>${WRKSRC}/ltsa.sh
@${ECHO} '${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/lib/ltsa/ltsa.jar' \
'$$*' >>${WRKSRC}/ltsa.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ltsa.sh ${PREFIX}/bin/ltsa
${INSTALL_DATA_DIR} ${PREFIX}/lib/ltsa
cd ${WRKSRC}/lib && ${PAX} -rwpppm . ${PREFIX}/lib/ltsa
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ltsa
${INSTALL_DATA} ${WRKSRC}/fspv2.pdf ${PREFIX}/share/doc/ltsa
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ltsa
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ltsa
cd ${WRKSRC}/examples && ${PAX} -rwpppm . ${PREFIX}/share/examples/ltsa
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|