1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix build with Java 1.6

Reported by:	pointyhat
This commit is contained in:
Herve Quiroz 2008-09-02 08:13:30 +00:00
parent fa5f99d53e
commit eb21a45aa2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219646

View File

@ -51,7 +51,7 @@ pre-fetch:
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-jdk${JAVA_PORT_VERSION:C/([0-9]\.[0-9])\.[0-9]/\1/}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-jdk${JAVA_PORT_VERSION:C/1\.4\.[0-9]/1.4/:C/1\.[56]\.[0-9]/1.5/}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."