aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-03-27 23:23:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-03-27 23:23:39 +0000
commita55d9f033b00fa05da006fc9f72217cca5d74a67 (patch)
tree01babb3a293c705ece75a59fe7a12c8de7f7975d /finance
parent2f4867842cf0e46e4ee4c2b8e26a9790d06de1c7 (diff)
downloadports-a55d9f033b00fa05da006fc9f72217cca5d74a67.tar.gz
ports-a55d9f033b00fa05da006fc9f72217cca5d74a67.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/venice/Makefile16
-rw-r--r--finance/venice/distinfo4
2 files changed, 15 insertions, 5 deletions
diff --git a/finance/venice/Makefile b/finance/venice/Makefile
index 2f44f04ecf81..288da6e5fb12 100644
--- a/finance/venice/Makefile
+++ b/finance/venice/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= venice
-DISTVERSION= 0.4alpha
+DISTVERSION= 0.5alpha
CATEGORIES= finance java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mov
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${DISTVERSION}
MAINTAINER= lioux@FreeBSD.org
COMMENT= Merchant Of Venice, a stock market trading program
-BROKEN= Does not build
+BUILD_DEPENDS= ${JYTHON_PREFIX}/jython.jar:${PORTSDIR}/lang/jython
USE_JAVA= yes
JAVA_VERSION= 1.4+
@@ -34,6 +34,7 @@ PLIST_FILES= \
# docs
DOC_FILES= \
+ doc/manual.txt \
changelog.txt \
readme.txt
@@ -42,6 +43,10 @@ PORTDOCS= \
*
.endif
+# jython
+JYTHON_PREFIX= ${LOCALBASE}/jython21
+JYTHON_JAR= ${JYTHON_PREFIX}/jython.jar
+
post-extract:
# extract docs
@cd ${BUILD_WRKSRC}/src && ${JAR} -xf ${WRKSRC}/venice.jar org/mov/help/doc
@@ -52,6 +57,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -E \
-e 's|(build),[[:space:]]*doc|\1|' \
+ -e 's|%%CLASSPATH%%|${CLASSPATH}|' \
${BUILD_WRKSRC}/build.xml
@${SED} -E \
-e "s|%%JAVAVM%%|${LOCALBASE}/bin/java|" \
@@ -75,4 +81,8 @@ do-install:
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${BUILD_WRKSRC}/${JARFILE} ${JAVAJARDIR}/${JARFILE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+CLASSPATH+= ${JYTHON_JAR}
+
+.include <bsd.port.post.mk>
diff --git a/finance/venice/distinfo b/finance/venice/distinfo
index 66fa648e02e5..f089cbe81383 100644
--- a/finance/venice/distinfo
+++ b/finance/venice/distinfo
@@ -1,2 +1,2 @@
-MD5 (venice-0.4alpha.tar.gz) = 290edc362800cbf02486c5d88b2e1ef0
-SIZE (venice-0.4alpha.tar.gz) = 1117879
+MD5 (venice-0.5alpha.tar.gz) = 96e103f2049b90d0dbb5649263dcedcc
+SIZE (venice-0.5alpha.tar.gz) = 3078109