Add new port: java/eclipse-ecj

An incremental Java compiler. Implemented as an Eclipse builder, it is based on
technology evolved from VisualAge for Java compiler. In particular, it allows to
run and debug code which still contains unresolved errors.

WWW: http://www.eclipse.org/

Feature safe:	yes
This commit is contained in:
Jason Helfman 2012-03-19 22:22:47 +00:00
parent f87f6afbfc
commit b7c4d17a4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293586
5 changed files with 50 additions and 0 deletions

View file

@ -31,6 +31,7 @@
SUBDIR += eclipse-datatools
SUBDIR += eclipse-devel
SUBDIR += eclipse-drjava
SUBDIR += eclipse-ecj
SUBDIR += eclipse-emf
SUBDIR += eclipse-examples
SUBDIR += eclipse-findbugs

39
java/eclipse-ecj/Makefile Normal file
View file

@ -0,0 +1,39 @@
# New ports collection: eclipse-ecj
# Date created: 17 March 2012
# Whom: Jason Helfman
#
# $FreeBSD$
PORTNAME= ecj
PORTVERSION= 3.7.2
CATEGORIES= java devel
MASTER_SITES= ECLIPSE
MASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE}
PKGNAMEPREFIX= eclipse-
DISTNAME= ecjsrc-${PORTVERSION}
EXTRACT_SUFX= .jar
MAINTAINER= jgh@FreeBSD.org
COMMENT= Eclipse Java Compiler
LICENSE= EPL
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= xf
EXTRACT_AFTER_ARGS= -C ${WRKDIR}
USE_ANT= yes
USE_JAVA= yes
BUILD_WRKSRC= ${WRKDIR}
SUB_FILES= ecj.sh
SUB_LIST= JAVAC=${JAVAC}
DROPDATE= 201202080800
PLIST_FILES= bin/${PORTNAME}.sh \
%%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/ecj.sh ${PREFIX}/bin
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (ecjsrc-3.7.2.jar) = 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b
SIZE (ecjsrc-3.7.2.jar) = 1366333

View file

@ -0,0 +1,3 @@
#!/bin/sh
%%JAVAC%% -classpath %%JAVAJARDIR%%/ecj.jar $1

View file

@ -0,0 +1,5 @@
An incremental Java compiler. Implemented as an Eclipse builder, it is based on
technology evolved from VisualAge for Java compiler. In particular, it allows to
run and debug code which still contains unresolved errors.
WWW: http://www.eclipse.org/