1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/java/jump/Makefile
Ernst de Haan 4932a3ba74 - Update to JUMP 0.5
- Unbroken
- Using PORTDOCS macro
- Removed non-existent metaverse.nl download site
2004-04-15 22:07:40 +00:00

52 lines
1.1 KiB
Makefile

# 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.5
CATEGORIES= java math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jump-math
MAINTAINER= znerd@FreeBSD.org
COMMENT= Java library for arbitrary precision computations
BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant
USE_JAVA= 1.2+
ANT?= ${LOCALBASE}/bin/ant
.if defined(NOPORTDOCS)
ANT_TARGET= jar
.else
ANT_TARGET= jar apidocs
.endif
JAVASHAREDIR= ${PREFIX}/share/java
JARDIR= ${JAVASHAREDIR}/classes
JARFILE= ${PORTNAME}.jar
DESTJARFILE= ${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= ${WRKSRC}/build/apidocs
.endif
do-build:
cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
do-install:
@${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..."
@${CP} ${WRKSRC}/build/${JARFILE} ${JARDIR}/${DESTJARFILE}
@${ECHO} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
@${CP} -r ${WRKSRC}/build/apidocs/* ${DOCSDIR}
@${ECHO} " [ DONE ]"
.endif
.include <bsd.port.mk>