aboutsummaryrefslogtreecommitdiffstats
path: root/math/truthtable/Makefile
blob: 24e60047772daff2ee0e38c74a75fa7625112d86 (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
33
34
35
36
# New ports collection makefile for:    truthtable
# Date created:     2006-07-10
# Whom:         Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=   truthtable
PORTVERSION=    1.2.2
PORTREVISION=   1
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.3+
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>