aboutsummaryrefslogtreecommitdiffstats
path: root/math/truthtable/Makefile
blob: ed7b32e04abf60ac14814d7b872cf39d00fdc4fe (plain) (blame)
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
# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$

PORTNAME=   truthtable
PORTVERSION=    1.2.2
PORTREVISION=   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@FreeBSD.org
COMMENT=    A Truth Tables generator (written in Java)

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES=  ${PORTNAME}
SUB_LIST=   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>