aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-16 22:36:27 +0800
committerantoine <antoine@FreeBSD.org>2014-02-16 22:36:27 +0800
commit8b0f89603a605d9a54e7725240a4e7519f6e9801 (patch)
treee2b1ff4dfc603d0bed5bd3f007bc9e20c83859a3 /java
parentb919c341e19d9498080c800c0a5f97ffc16e2f6f (diff)
downloadfreebsd-ports-gnome-8b0f89603a605d9a54e7725240a4e7519f6e9801.tar.gz
freebsd-ports-gnome-8b0f89603a605d9a54e7725240a4e7519f6e9801.tar.zst
freebsd-ports-gnome-8b0f89603a605d9a54e7725240a4e7519f6e9801.zip
- Stage support
- Remove infozip dependency
Diffstat (limited to 'java')
-rw-r--r--java/eclipse-examples/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/java/eclipse-examples/Makefile b/java/eclipse-examples/Makefile
index 1dc0ffd38dd6..069df60a0637 100644
--- a/java/eclipse-examples/Makefile
+++ b/java/eclipse-examples/Makefile
@@ -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:${PORTSDIR}/java/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>