svn commit: r344571 - head/java/eclipse-examples

Antoine Brodin antoine at FreeBSD.org
Sun Feb 16 14:36:28 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list