# Created by: Jason Helfman # $FreeBSD: head/java/eclipse-ecj/Makefile 559339 2020-12-27 04:17:26Z glewis $ PORTNAME= ecj PORTVERSION= 4.4.2 PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.eclipse.org/eclipse/downloads/drops4/R-${PORTVERSION}-${DROPDATE}/ PKGNAMEPREFIX= eclipse- DISTNAME= ecjsrc-${PORTVERSION} EXTRACT_SUFX= .jar MAINTAINER= ports@FreeBSD.org COMMENT= Eclipse Java Compiler LICENSE= EPL EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= xf EXTRACT_AFTER_ARGS= -C ${WRKSRC} USE_ANT= yes USE_JAVA= yes JAVA_VERSION= 8 SUB_FILES= ecj.sh SUB_LIST= PORTVERSION=${PORTVERSION} NO_WRKSUBDIR= yes DROPDATE= 201502041700 PLIST_FILES= bin/${PORTNAME}.sh \ %%JAVAJARDIR%%/${PORTNAME}-${PORTVERSION}.jar do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar ${INSTALL_SCRIPT} ${WRKDIR}/ecj.sh ${STAGEDIR}/${PREFIX}/bin .include