- Fix build
Submitted by: maintainer via private mail Reported by: pointyhat
This commit is contained in:
parent
fa576e02c7
commit
0836164848
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241369
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= commons-math
|
PORTNAME= commons-math
|
||||||
PORTVERSION= 2.0
|
PORTVERSION= 2.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= math java
|
CATEGORIES= math java
|
||||||
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
|
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
||||||
|
@ -17,6 +18,7 @@ MAINTAINER= wenheping@gmail.com
|
||||||
COMMENT= Java library of self-contained mathematics and statistics components
|
COMMENT= Java library of self-contained mathematics and statistics components
|
||||||
|
|
||||||
BUILD_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
|
BUILD_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
|
||||||
|
${JAVAJARDIR}/junit.jar:${PORTSDIR}/java/junit \
|
||||||
${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
|
${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
|
||||||
RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
|
RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
|
||||||
${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
|
${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
|
||||||
|
@ -56,6 +58,12 @@ JDK_API!= (${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type
|
||||||
MAKE_ARGS+= -Djdk.api=${JDK_API}
|
MAKE_ARGS+= -Djdk.api=${JDK_API}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e 's#4.4##g' \
|
||||||
|
-e 's#junit-#junit#g' \
|
||||||
|
-e 's#/usr/share/junit#${JAVAJARDIR}#g' \
|
||||||
|
${WRKSRC}/build.xml
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
|
||||||
@${MKDIR} ${JAVAJARDIR}
|
@${MKDIR} ${JAVAJARDIR}
|
||||||
|
|
Loading…
Reference in a new issue