Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 14:36:27 +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: r344571 - head/java/eclipse-examples
Message-ID:  <201402161436.s1GEaSGK069376@svn.freebsd.org>

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

Log:
  - Stage support
  - Remove infozip dependency

Modified:
  head/java/eclipse-examples/Makefile

Modified: head/java/eclipse-examples/Makefile
==============================================================================
--- head/java/eclipse-examples/Makefile	Sun Feb 16 14:25:11 2014	(r344570)
+++ head/java/eclipse-examples/Makefile	Sun Feb 16 14:36:27 2014	(r344571)
@@ -9,6 +9,7 @@ MASTER_SITES=	${MASTER_SITE_ECLIPSE}
 MASTER_SITE_SUBDIR=	R-3.0-200406251208
 PKGNAMEPREFIX=	eclipse-
 DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX=	.zip
 DIST_SUBDIR=	eclipse
 
 MAINTAINER=	freebsd-eclipse@FreeBSD.org
@@ -18,12 +19,8 @@ RUN_DEPENDS=    ${LOCALBASE}/bin/eclipse
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
-USE_ZIP=	yes
 
-NO_STAGE=	yes
 do-install:
-		@${MKDIR} ${PREFIX}/lib/eclipse
-		@${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/lib/eclipse
-		@${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/lib/eclipse
+	cd ${WRKSRC}/eclipse && ${COPYTREE_SHARE} "features plugins" ${STAGEDIR}${PREFIX}/lib/eclipse
 
 .include <bsd.port.mk>



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