freebsd-ports/finance/venice/Makefile
Baptiste Daroussin 7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00

52 lines
1 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= venice
DISTVERSION= 0.71beta
CATEGORIES= finance java
MASTER_SITES= SF/mov/${PORTNAME}/0.71%20beta
DISTNAME= ${PORTNAME}-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Merchant Of Venice, a stock market trading program
NO_BUILD= yes
USE_JAVA= yes
JAVA_RUN= yes
JAVA_VERSION= 1.6+
JARFILE= ${PORTNAME}.jar
PLIST_FILES= bin/venice \
%%JAVAJARDIR%%/${JARFILE}
# docs
DOC_FILES= doc/manual.txt \
doc/manual.html \
changelog.txt \
readme.txt
.ifndef(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e s,venice.jar,${JAVAJARDIR}/${JARFILE}, ${WRKSRC}/venice
do-install:
# docs
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
# wrapper
@${INSTALL_SCRIPT} ${WRKSRC}/venice ${PREFIX}/bin/
# jar
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/
.include <bsd.port.post.mk>