2002-06-13 12:15:52 +00:00
|
|
|
# New ports collection makefile for: JUMP Ultimate Math Package
|
|
|
|
# Date created: June 13, 2002
|
|
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jump
|
2004-04-15 22:07:40 +00:00
|
|
|
PORTVERSION= 0.5
|
2002-06-13 12:15:52 +00:00
|
|
|
CATEGORIES= java math
|
2004-04-15 22:07:40 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-06-13 12:15:52 +00:00
|
|
|
MASTER_SITE_SUBDIR= jump-math
|
|
|
|
|
2004-12-03 01:01:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Java library for arbitrary precision computations
|
2002-06-13 12:15:52 +00:00
|
|
|
|
2004-11-03 03:13:28 +00:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
|
|
|
USE_ANT= yes
|
2002-10-11 23:16:15 +00:00
|
|
|
|
2002-10-18 16:05:30 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
2004-11-03 03:13:28 +00:00
|
|
|
ALL_TARGET= jar
|
2002-10-18 16:05:30 +00:00
|
|
|
.else
|
2004-11-03 03:13:28 +00:00
|
|
|
ALL_TARGET= jar apidocs
|
2002-10-18 16:05:30 +00:00
|
|
|
.endif
|
2002-10-18 21:00:55 +00:00
|
|
|
JARFILE= ${PORTNAME}.jar
|
2004-04-15 22:07:40 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-03 03:13:28 +00:00
|
|
|
PORTDOCS= *
|
2004-04-15 22:07:40 +00:00
|
|
|
.endif
|
2002-06-13 12:52:42 +00:00
|
|
|
|
2004-11-03 03:13:28 +00:00
|
|
|
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
|
2002-06-13 12:15:52 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-11-03 03:13:28 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${JAVAJARDIR}/${JARFILE}
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-10-18 16:05:30 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-03 03:13:28 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
2002-10-18 16:05:30 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-11-03 03:13:28 +00:00
|
|
|
@cd ${WRKSRC}/build/apidocs/ && ${FIND} . \
|
|
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-10-18 16:05:30 +00:00
|
|
|
.endif
|
2002-06-13 12:15:52 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|