1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/java/jump/Makefile
Pawel Pekala ee648104e5 - Add staging support
- Convert to new options framework
2014-05-31 14:22:28 +00:00

39 lines
779 B
Makefile

# Created by: Ernst de Haan <znerd@FreeBSD.org>
# $FreeBSD$
PORTNAME= jump
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= java math
MASTER_SITES= SF/${PORTNAME}-math/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java library for arbitrary precision computations
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
ALL_TARGET= jar
JARFILE= ${PORTNAME}.jar
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= apidocs
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>