diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-10 21:45:29 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-10 21:45:29 +0000 |
commit | 1cfce65fe938bf64604e91a16679898513d81554 (patch) | |
tree | 2b6af3ab3d13c8bd842da249dac68946e6b20452 /math/truthtable | |
parent | 76df383f34b6c09e53c27bac7c62a256373e35e9 (diff) | |
download | ports-1cfce65fe938bf64604e91a16679898513d81554.tar.gz ports-1cfce65fe938bf64604e91a16679898513d81554.zip |
Notes
Diffstat (limited to 'math/truthtable')
-rw-r--r-- | math/truthtable/Makefile | 35 | ||||
-rw-r--r-- | math/truthtable/distinfo | 3 | ||||
-rw-r--r-- | math/truthtable/files/truthtable.in | 4 | ||||
-rw-r--r-- | math/truthtable/pkg-descr | 6 | ||||
-rw-r--r-- | math/truthtable/pkg-plist | 4 |
5 files changed, 52 insertions, 0 deletions
diff --git a/math/truthtable/Makefile b/math/truthtable/Makefile new file mode 100644 index 000000000000..746dee685fa0 --- /dev/null +++ b/math/truthtable/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: truthtable +# Date created: 2006-07-10 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= truthtable +PORTVERSION= 1.2.2 +CATEGORIES= math java +MASTER_SITES= http://www.kinostudios.com/java/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/ +DISTNAME= TruthTable +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= nivit@email.it +COMMENT= A Truth Tables generator (written in Java) + +USE_JAVA= yes +JAVA_VERSION= 1.3+ +NO_BUILD= yes + +DATADIR= ${JAVASHAREDIR}/${PORTNAME} +SUB_FILES= ${PORTNAME} +SUB_LIST= JAVA=${JAVA} JAVAJARDIR=${JAVAJARDIR} TRUTHTABLEJAR=${TRUTHTABLEJAR} + +TRUTHTABLEJAR= ${DATADIR}/${DISTNAME}${EXTRACT_SUFX} + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/math/truthtable/distinfo b/math/truthtable/distinfo new file mode 100644 index 000000000000..121b3b739cb1 --- /dev/null +++ b/math/truthtable/distinfo @@ -0,0 +1,3 @@ +MD5 (TruthTable.jar) = c4edee7a839356a0dcae54b252a6b9ae +SHA256 (TruthTable.jar) = fdf71771826c288579569470e08f370a32d295382d6b15b8906b1131f485f8c0 +SIZE (TruthTable.jar) = 5054 diff --git a/math/truthtable/files/truthtable.in b/math/truthtable/files/truthtable.in new file mode 100644 index 000000000000..f5c3097ec616 --- /dev/null +++ b/math/truthtable/files/truthtable.in @@ -0,0 +1,4 @@ +#!/bin/sh +# $FreeBSD$ +JAVA_VERSION="%%JAVA_VERSION%%" \ + exec "%%LOCALBASE%%/bin/java" -jar "%%TRUTHTABLEJAR%%" "$@" diff --git a/math/truthtable/pkg-descr b/math/truthtable/pkg-descr new file mode 100644 index 000000000000..9d85a4c96bee --- /dev/null +++ b/math/truthtable/pkg-descr @@ -0,0 +1,6 @@ +TruthTable is a truth table generator that does the dirty work for you. +This Java program handles the following operations: Not, And, Or, XOR, +Implication, and the Biconditional. + +Author: Greg Slepak +WWW: http://www.kinostudios.com/truthtable.php diff --git a/math/truthtable/pkg-plist b/math/truthtable/pkg-plist new file mode 100644 index 000000000000..f82510f282d9 --- /dev/null +++ b/math/truthtable/pkg-plist @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +bin/truthtable +%%JAVASHAREDIR%%/truthtable/TruthTable.jar +@dirrm %%JAVASHAREDIR%%/truthtable |