mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
54 lines
1.0 KiB
Makefile
54 lines
1.0 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
|
|
|
|
NO_STAGE= yes
|
|
.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>
|