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

PR:		ports/100041
Submitted by:	Nicola Vitale <nivit at email.it>
This commit is contained in:
Ion-Mihai Tetcu 2006-07-10 21:45:29 +00:00
parent 76df383f34
commit 1cfce65fe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167406
6 changed files with 53 additions and 0 deletions

View file

@ -317,6 +317,7 @@
SUBDIR += tomsfastmath
SUBDIR += topaz
SUBDIR += triangle
SUBDIR += truthtable
SUBDIR += tvmet
SUBDIR += ufsparse
SUBDIR += umatrix

35
math/truthtable/Makefile Normal file
View file

@ -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>

3
math/truthtable/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (TruthTable.jar) = c4edee7a839356a0dcae54b252a6b9ae
SHA256 (TruthTable.jar) = fdf71771826c288579569470e08f370a32d295382d6b15b8906b1131f485f8c0
SIZE (TruthTable.jar) = 5054

View file

@ -0,0 +1,4 @@
#!/bin/sh
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" \
exec "%%LOCALBASE%%/bin/java" -jar "%%TRUTHTABLEJAR%%" "$@"

View file

@ -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

View file

@ -0,0 +1,4 @@
@comment $FreeBSD$
bin/truthtable
%%JAVASHAREDIR%%/truthtable/TruthTable.jar
@dirrm %%JAVASHAREDIR%%/truthtable