mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
57 lines
1.1 KiB
Makefile
57 lines
1.1 KiB
Makefile
# New ports collection makefile for: Merchant Of Venice
|
|
# Date created: Thu Jan 20 03:24:01 UTC 2005
|
|
# Whom: 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.5+
|
|
|
|
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>
|