From owner-svn-ports-head@FreeBSD.ORG Wed Jun 4 21:50:22 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E7AC167; Wed, 4 Jun 2014 21:50:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BB9F2876; Wed, 4 Jun 2014 21:50:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s54LoM4f035099; Wed, 4 Jun 2014 21:50:22 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s54LoMud035098; Wed, 4 Jun 2014 21:50:22 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201406042150.s54LoMud035098@svn.freebsd.org> From: Jung-uk Kim Date: Wed, 4 Jun 2014 21:50:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356548 - head/java/jgrapht X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 21:50:22 -0000 Author: jkim Date: Wed Jun 4 21:50:22 2014 New Revision: 356548 URL: http://svnweb.freebsd.org/changeset/ports/356548 QAT: https://qat.redports.org/buildarchive/r356548/ Log: Fix build with java/openjdk7 and support staging. Note it does not build with java/openjdk8. Reported by: exp-run (PR190511) Modified: head/java/jgrapht/Makefile Modified: head/java/jgrapht/Makefile ============================================================================== --- head/java/jgrapht/Makefile Wed Jun 4 21:17:35 2014 (r356547) +++ head/java/jgrapht/Makefile Wed Jun 4 21:50:22 2014 (r356548) @@ -12,7 +12,7 @@ COMMENT= Java package for mathematical g USES= zip USE_JAVA= yes -JAVA_VERSION= 1.6+ +JAVA_VERSION= 1.6 1.7 .if !defined(WITHOUT_COMPILE) USE_ANT= yes @@ -30,7 +30,6 @@ PORTDOCS= * PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -NO_STAGE= yes .include JAVA_PORT_API= ${LOCALBASE}/share/doc/jdk${JAVA_PORT_VERSION:C/([0-9]\.[0-9])\.[0-9]/\1/}/api @@ -47,12 +46,12 @@ pre-fetch: do-install: @${ECHO_MSG} -n ">> Installing JAR as ${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 + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-jdk1.5.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [DONE]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKSRC}/javadoc && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; - @cd ${WRKSRC}/javadoc && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + @cd ${WRKSRC}/javadoc && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; + @cd ${WRKSRC}/javadoc && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [DONE]" .endif