Correct run dependencies by using ':=' assign

Fix build with NOPORTEXAMPLES
Remove md5 checksum

Approved by:	Rob Farmer (maintainer)
This commit is contained in:
Max Brazhnikov 2010-12-01 07:29:13 +00:00
parent dfd1887dbe
commit 9ab200b78c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265501
2 changed files with 5 additions and 5 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= jlatexmath
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= math java
MASTER_SITES= http://forge.scilab.org/upload/jlatexmath/files/ \
http://www.predatorlabs.net/dl/
@ -31,15 +32,15 @@ OPTIONS= FOP "textproc/fop plugin (required for math/scilab)" ON
.if defined(WITHOUT_FOP)
PLIST_SUB+= FOP="@comment "
.else
BUILD_DEPENDS+= fop:${PORTSDIR}/textproc/fop \
BUILD_DEPENDS= fop:${PORTSDIR}/textproc/fop \
${JAVALIBDIR}/xmlgraphics-commons.jar:${PORTSDIR}/graphics/xmlgraphics-commons \
${LOCALBASE}/share/java/batik/batik.jar:${PORTSDIR}/graphics/batik \
${JAVASHAREDIR}/batik/batik.jar:${PORTSDIR}/graphics/batik \
${JAVALIBDIR}/avalon-framework.jar:${PORTSDIR}/devel/avalon-framework \
${JAVALIBDIR}/commons-io.jar:${PORTSDIR}/devel/jakarta-commons-io \
${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons
RUN_DEPENDS+= ${BUILD_DEPENDS}
RUN_DEPENDS:= ${BUILD_DEPENDS}
ALL_TARGET+= fop
@ -54,7 +55,7 @@ post-patch:
do-install:
${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-${PORTVERSION}.jar ${JAVAJARDIR}/jlatexmath.jar
${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-fop-${PORTVERSION}.jar ${JAVAJARDIR}/jlatexmath-fop.jar
.if !defined(NOPORTDOCS)
.if !defined(NOPORTEXAMPLES)
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

View File

@ -1,3 +1,2 @@
MD5 (jlatexmath-src-all-0.9.3.zip) = 14b5a3ae9941c1fbf39f241a779b7458
SHA256 (jlatexmath-src-all-0.9.3.zip) = 88b54226800d0811e1e927730b991557f80429d952da70ef220b2a9251c4998b
SIZE (jlatexmath-src-all-0.9.3.zip) = 1092337