- Rename jar based on version
- Tweak ecj.sh to handle version and compilation - bump PORTREVISION Submitted by: jkim@, glewis@, pitpalme+unix@gmail.com (emails) Feature safe: yes
This commit is contained in:
parent
dcb4a07d17
commit
773538423a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293619
2 changed files with 6 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
PORTNAME= ecj
|
PORTNAME= ecj
|
||||||
PORTVERSION= 3.7.2
|
PORTVERSION= 3.7.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= java devel
|
CATEGORIES= java devel
|
||||||
MASTER_SITES= ECLIPSE
|
MASTER_SITES= ECLIPSE
|
||||||
MASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE}
|
MASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE}
|
||||||
|
@ -24,16 +25,16 @@ EXTRACT_AFTER_ARGS= -C ${WRKDIR}
|
||||||
|
|
||||||
USE_ANT= yes
|
USE_ANT= yes
|
||||||
USE_JAVA= yes
|
USE_JAVA= yes
|
||||||
BUILD_WRKSRC= ${WRKDIR}
|
|
||||||
SUB_FILES= ecj.sh
|
SUB_FILES= ecj.sh
|
||||||
SUB_LIST= JAVAC=${JAVAC}
|
SUB_LIST= PORTVERSION=${PORTVERSION}
|
||||||
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
DROPDATE= 201202080800
|
DROPDATE= 201202080800
|
||||||
PLIST_FILES= bin/${PORTNAME}.sh \
|
PLIST_FILES= bin/${PORTNAME}.sh \
|
||||||
%%JAVAJARDIR%%/${PORTNAME}.jar
|
%%JAVAJARDIR%%/${PORTNAME}-${PORTVERSION}.jar
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/ecj.sh ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKDIR}/ecj.sh ${PREFIX}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
%%JAVAC%% -classpath %%JAVAJARDIR%%/ecj.jar $1
|
%%LOCALBASE%%/bin/java -classpath %%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar org.eclipse.jdt.internal.compiler.batch.Main ${@:--help}
|
||||||
|
|
Loading…
Reference in a new issue