Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 07:26:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308665 - head/biology/biojava
Message-ID:  <201212110726.qBB7QdYa028753@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Dec 11 07:26:38 2012
New Revision: 308665
URL: http://svnweb.freebsd.org/changeset/ports/308665

Log:
  Remove hardcoded extract dependency on diablo-jdk16, directly use USE_ZIP
  instead given that jar files are just zip files, remove hardcoded do extract
  target.
  
  Reported by:	linimon, matthew

Modified:
  head/biology/biojava/Makefile

Modified: head/biology/biojava/Makefile
==============================================================================
--- head/biology/biojava/Makefile	Tue Dec 11 06:16:03 2012	(r308664)
+++ head/biology/biojava/Makefile	Tue Dec 11 07:26:38 2012	(r308665)
@@ -12,8 +12,7 @@ EXTRACT_SUFX=	.jar
 MAINTAINER=	wenheping@gmail.com
 COMMENT=	Open-source Java tools for processing biological data
 
-EXTRACT_DEPENDS+=	jar:${PORTSDIR}/java/diablo-jdk16
-
+USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 USE_ANT=	yes
@@ -23,14 +22,8 @@ ALL_TARGET=	package-biojava
 JARFILES=	biojava.jar bytecode.jar
 PORTDOCS=	biojava
 PORTEXAMPLES=	demos
-EXTRACT_CMD=	jar -xvf ${_DISTDIR}/${DISTFILES}
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-do-extract:
-	@${RM} -rf ${WRKDIR}
-	@${MKDIR} ${WRKDIR}
-	@cd ${WRKDIR} && ${EXTRACT_CMD}
-
 .if !defined(WITHOUT_TESTS)
 regression-test:
 	@(cd ${BUILD_WRKSRC}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212110726.qBB7QdYa028753>