math/jakarta-commons-math: Restrict build to 1.6 and 1.7 [1]

- Unmute INSTALL_ macros
- Fix patch files to reflect 'make makepatch'

PR:		201352 [1]
Submitted by:	glewis [1]
This commit is contained in:
Muhammad Moinur Rahman 2015-07-06 08:57:43 +00:00
parent 918301b4b6
commit 2b6f94cce6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391394
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ COMMENT= Java library of self-contained mathematics and statistics components
LICENSE= APACHE20
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VERSION= 1.6 1.7
USE_ANT= yes
ALL_TARGET= jar
@ -53,7 +53,7 @@ post-extract:
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
@${ECHO_MSG} " [ DONE ]"
.if ${PORT_OPTIONS:MDOCS}
@ -62,7 +62,7 @@ do-install:
@cd ${WRKSRC}/target \
&& ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
&& ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} " [ DONE ]"
.endif

View File

@ -1,5 +1,5 @@
--- build.xml.bak 2014-04-19 21:14:45.345201138 +0600
+++ build.xml 2014-04-19 21:17:15.132174422 +0600
--- build.xml.orig 2011-02-26 18:12:55 UTC
+++ build.xml
@@ -167,7 +167,7 @@
<!-- ========== Unit Test Targets ========================================= -->