summaryrefslogtreecommitdiff
path: root/java/eclipse
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-29 22:30:22 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-29 22:30:22 +0000
commitfe6f98f72459bc6a965a018f929ae629c665fb55 (patch)
treeffa597f87fc10daea194d22b4be4bda6b6b5fc50 /java/eclipse
parent- The output from PKG_INFO is actually needed (diff)
java/eclipse*: specify extraction with ${TAR}
It's possible that EXTRACT_CMD won't be predefined in the near future in order to support distfiles in multiple formats. We know the extraction tool needs to be tar, so let's specify it directly. The eclipse ports have pending PRs to update the version, although I don't know if they include staging. Each Eclipse is a huge port so staging is out scope of this extraction tool work. Approved by: portmgr (implicit)
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index 2c738f955816..f8b56812e12a 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -21,7 +21,7 @@ DIST_SUBDIR= eclipse
EXTRACT_ONLY= ${ECLIPSE_BUILD_SRCFILE}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An open extensible IDE for anything and nothing in particular
+COMMENT= Open extensible IDE for anything and nothing in particular
EXTRACT_DEPENDS=${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
PATCH_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
@@ -154,9 +154,9 @@ post-extract:
.for f in ${ECLIPSE_JAR_BUNDLES} ${ECLIPSE_SAT4J_BUNDLES}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/
.endfor
- @(${MKDIR} ${BUILD_WRKSRC}/generatedScripts && cd ${BUILD_WRKSRC}/generatedScripts && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${BUILD_WRKSRC}/${ECLIPSE_GENERATED_BUILDSCRIPTS} ${EXTRACT_AFTER_ARGS})
+ @(${MKDIR} ${BUILD_WRKSRC}/generatedScripts && cd ${BUILD_WRKSRC}/generatedScripts && ${TAR} ${EXTRACT_BEFORE_ARGS} ${BUILD_WRKSRC}/${ECLIPSE_GENERATED_BUILDSCRIPTS} ${EXTRACT_AFTER_ARGS})
- @(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${ANT_SRCFILE} ${EXTRACT_AFTER_ARGS})
+ @(cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${ANT_SRCFILE} ${EXTRACT_AFTER_ARGS})
.for f in ${ANT_BUNDLES}
@${CP} ${WRKDIR}/apache-ant-${ANT_VERSION}/lib/${f} ${BUILD_WRKSRC}/bundles/
.endfor
@@ -166,7 +166,7 @@ post-extract:
@${CP} ${WRKDIR}/junit/junit${JUNIT3_VERSION}/junit.jar ${BUILD_WRKSRC}/bundles/
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${JUNIT4_SRCFILE} ${BUILD_WRKSRC}/bundles/junit4.jar
- @(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${TOMCAT_SRCFILES:Mapache-tomcat*.tar.gz} ${EXTRACT_AFTER_ARGS})
+ @(cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${TOMCAT_SRCFILES:Mapache-tomcat*.tar.gz} ${EXTRACT_AFTER_ARGS})
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOMCAT_SRCFILES:M*.jar} ${WRKDIR}/apache-tomcat-${TOMCAT_VERSION}/lib/
.for f in ${TOMCAT_BUNDLES}
@${CP} ${WRKDIR}/apache-tomcat-${TOMCAT_VERSION}/lib/${f} ${BUILD_WRKSRC}/bundles/