Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 14:48:47 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344577 - head/java/eclipse-findbugs
Message-ID:  <201402161448.s1GEmliW074377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb 16 14:48:47 2014
New Revision: 344577
URL: http://svnweb.freebsd.org/changeset/ports/344577
QAT: https://qat.redports.org/buildarchive/r344577/

Log:
  - Stage support
  - Remove infozip dependency

Modified:
  head/java/eclipse-findbugs/Makefile

Modified: head/java/eclipse-findbugs/Makefile
==============================================================================
--- head/java/eclipse-findbugs/Makefile	Sun Feb 16 14:48:38 2014	(r344576)
+++ head/java/eclipse-findbugs/Makefile	Sun Feb 16 14:48:47 2014	(r344577)
@@ -8,15 +8,15 @@ CATEGORIES=	java devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20eclipse%20plugin/1.3.2
 PKGNAMEPREFIX=	eclipse-
 DISTNAME=	edu.umd.cs.findbugs.plugin.eclipse_${DISTVERSION}
+EXTRACT_SUFX=	.zip
 DIST_SUBDIR=	eclipse
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An Eclipse plug-in that provides FindBugs support
+COMMENT=	Eclipse plug-in that provides FindBugs support
 
 RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse
 
 NO_BUILD=	yes
-USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 JAVA_OS=	native
@@ -72,17 +72,10 @@ PLIST_SUB=	\
 	ECLIPSE_PLUGINS="lib/eclipse/plugins" \
 	DISTNAME="${DISTNAME}"
 
-NO_STAGE=	yes
 post-extract:
 	@${RM} -Rf ${WRKSRC}/src
 
 do-install:
-		@${MKDIR} ${PREFIX}/lib/eclipse/plugins
-		@(cd ${WRKDIR} && \
-			${FIND} -s $$(${BASENAME} ${WRKSRC}) -type d \
-				-exec ${MKDIR} "${PREFIX}/lib/eclipse/plugins/{}" \; && \
-			${FIND} -s $$(${BASENAME} ${WRKSRC}) -not -type d \
-				-exec ${INSTALL_DATA} "{}" "${PREFIX}/lib/eclipse/plugins/{}" \; \
-		)
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${DISTNAME})
 
 .include <bsd.port.mk>



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