diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-03-21 00:51:25 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-03-21 00:51:25 +0000 |
commit | 773538423a486ff897875a77219d4aea90538dbc (patch) | |
tree | 9e1c745b26015fb4b34ce6734a1c3e7f335e4922 /java | |
parent | dcb4a07d171a29d39f6feccc4e337fe5ba98aa1a (diff) | |
download | ports-773538423a486ff897875a77219d4aea90538dbc.tar.gz ports-773538423a486ff897875a77219d4aea90538dbc.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/eclipse-ecj/Makefile | 9 | ||||
-rw-r--r-- | java/eclipse-ecj/files/ecj.sh.in | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/java/eclipse-ecj/Makefile b/java/eclipse-ecj/Makefile index 0b5b8b9e2056..8104e3d31d5a 100644 --- a/java/eclipse-ecj/Makefile +++ b/java/eclipse-ecj/Makefile @@ -6,6 +6,7 @@ PORTNAME= ecj PORTVERSION= 3.7.2 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= ECLIPSE MASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE} @@ -24,16 +25,16 @@ EXTRACT_AFTER_ARGS= -C ${WRKDIR} USE_ANT= yes USE_JAVA= yes -BUILD_WRKSRC= ${WRKDIR} SUB_FILES= ecj.sh -SUB_LIST= JAVAC=${JAVAC} +SUB_LIST= PORTVERSION=${PORTVERSION} +NO_WRKSUBDIR= yes DROPDATE= 201202080800 PLIST_FILES= bin/${PORTNAME}.sh \ - %%JAVAJARDIR%%/${PORTNAME}.jar + %%JAVAJARDIR%%/${PORTNAME}-${PORTVERSION}.jar 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 .include <bsd.port.mk> diff --git a/java/eclipse-ecj/files/ecj.sh.in b/java/eclipse-ecj/files/ecj.sh.in index 9fe6061baabd..825e0a840bb8 100644 --- a/java/eclipse-ecj/files/ecj.sh.in +++ b/java/eclipse-ecj/files/ecj.sh.in @@ -1,3 +1,3 @@ #!/bin/sh -%%JAVAC%% -classpath %%JAVAJARDIR%%/ecj.jar $1 +%%LOCALBASE%%/bin/java -classpath %%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar org.eclipse.jdt.internal.compiler.batch.Main ${@:--help} |