2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2005-01-20 12:22:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= venice
|
2010-06-09 13:47:59 +02:00
|
|
|
DISTVERSION= 0.71beta
|
2005-01-20 12:22:16 +01:00
|
|
|
CATEGORIES= finance java
|
2010-06-09 13:47:59 +02:00
|
|
|
MASTER_SITES= SF/mov/${PORTNAME}/0.71%20beta
|
2005-01-20 12:22:16 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}
|
|
|
|
|
2008-11-29 09:43:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-01-20 12:22:16 +01:00
|
|
|
COMMENT= Merchant Of Venice, a stock market trading program
|
|
|
|
|
2010-06-09 13:47:59 +02:00
|
|
|
NO_BUILD= yes
|
2005-01-20 12:22:16 +01:00
|
|
|
USE_JAVA= yes
|
2008-11-29 10:12:45 +01:00
|
|
|
JAVA_RUN= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-01-20 12:22:16 +01:00
|
|
|
|
|
|
|
JARFILE= ${PORTNAME}.jar
|
|
|
|
|
2010-06-09 13:47:59 +02:00
|
|
|
PLIST_FILES= bin/venice \
|
2005-01-20 12:22:16 +01:00
|
|
|
%%JAVAJARDIR%%/${JARFILE}
|
|
|
|
|
|
|
|
# docs
|
2010-06-09 13:47:59 +02:00
|
|
|
DOC_FILES= doc/manual.txt \
|
|
|
|
doc/manual.html \
|
2005-01-20 12:22:16 +01:00
|
|
|
changelog.txt \
|
|
|
|
readme.txt
|
|
|
|
|
|
|
|
.ifndef(NOPORTDOCS)
|
2010-06-09 13:47:59 +02:00
|
|
|
PORTDOCS= *
|
2005-01-20 12:22:16 +01:00
|
|
|
.endif
|
|
|
|
|
2010-06-09 13:47:59 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-01-20 12:22:16 +01:00
|
|
|
|
|
|
|
post-patch:
|
2010-06-09 13:47:59 +02:00
|
|
|
${REINPLACE_CMD} -e s,venice.jar,${JAVAJARDIR}/${JARFILE}, ${WRKSRC}/venice
|
2005-01-20 12:22:16 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
# docs
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
# wrapper
|
2010-06-09 13:47:59 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/venice ${PREFIX}/bin/
|
2005-01-20 12:22:16 +01:00
|
|
|
# jar
|
|
|
|
@${MKDIR} ${JAVAJARDIR}
|
2010-06-09 13:47:59 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/
|
2005-03-28 01:23:39 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|