2008-05-26 04:13:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2008/05/26 02:13:17 joerg Exp $
|
2004-02-29 23:21:19 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ltsa2.2
|
|
|
|
PKGNAME= ${DISTNAME:S/ltsa/ltsa-/}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2004-02-29 23:21:19 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.doc.ic.ac.uk/~jnm/book/ltsa-v2/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-02-29 23:21:19 +01:00
|
|
|
HOMEPAGE= http://www.doc.ic.ac.uk/~jnm/book/ltsa-v2/
|
2006-10-04 23:35:58 +02:00
|
|
|
# ~jnm exists, /book/ does not
|
2004-02-29 23:21:19 +01:00
|
|
|
COMMENT= Labelled Transition System Analyser
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-02-29 23:21:19 +01:00
|
|
|
NO_CONFIGURE= YES
|
|
|
|
USE_JAVA2= YES
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
2004-02-29 23:21:19 +01:00
|
|
|
|
|
|
|
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:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ltsa.sh ${DESTDIR}${PREFIX}/bin/ltsa
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ltsa
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/lib && pax -rwpppm . ${DESTDIR}${PREFIX}/lib/ltsa
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ltsa
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fspv2.pdf ${DESTDIR}${PREFIX}/share/doc/ltsa
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/ltsa
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/ltsa
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/examples && pax -rwpppm . ${DESTDIR}${PREFIX}/share/examples/ltsa
|
2004-02-29 23:21:19 +01:00
|
|
|
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|