aboutsummaryrefslogtreecommitdiffstats
path: root/java/jump/Makefile
blob: e5182d4e328761a2941543c6b527eccc704efda3 (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
37
38
# New ports collection makefile for:    JUMP Ultimate Math Package
# Date created:             June 13, 2002
# Whom:                 Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jump
PORTVERSION=    0.1
PORTREVISION=   1
CATEGORIES= java math
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jump-math

BUILD_DEPENDS=  ${ANT}:${PORTSDIR}/devel/jakarta-ant

MAINTAINER= znerd@FreeBSD.org

USE_JAVA=   1.2+

NO_WRKSUBDIR=   YES
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?=    ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}
ANT?=       ${LOCALBASE}/bin/ant

do-build:
    @cd ${WRKDIR} && ${ANT}

do-install:
    @${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
    @${MKDIR} ${TARGET_DIR}
    @${ECHO} " [ DONE ]"

    @${ECHO} -n ">> Copying files..."
    @${CP} -r ${WRKSRC}/* ${TARGET_DIR}
    @${ECHO} " [ DONE ]"

.include <bsd.port.mk>