Remove following ports.
lang/gcc41-withgcjawt java/gjdoc java/ecj-bootstrap * lang/gcc41 will also be removed by gerald@ very soon. * these ports are intended for free Java alternative, however, require too much resources to maintain. java/java-gcj-compat has also been removed because it's broken for long time.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
SUBDIR += diablo-jre15
|
||||
SUBDIR += diablo-jre16
|
||||
SUBDIR += drexelsnmp
|
||||
SUBDIR += ecj-bootstrap
|
||||
SUBDIR += eclipse
|
||||
SUBDIR += eclipse-EPIC
|
||||
SUBDIR += eclipse-RDT
|
||||
@@ -57,7 +56,6 @@
|
||||
SUBDIR += eclipse-webtools
|
||||
SUBDIR += eclipseme
|
||||
SUBDIR += gj
|
||||
SUBDIR += gjdoc
|
||||
SUBDIR += gnu-regexp
|
||||
SUBDIR += guavac
|
||||
SUBDIR += infobus
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# New ports collection makefile for: ecj-bootstrap
|
||||
# Date created: August 2, 2006
|
||||
# Whom: NAKATA, Maho <maho@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ecj-bootstrap
|
||||
PORTVERSION= 3.2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= ${MASTER_SITE_ECLIPSE:S,%SUBDIR%/,R-${PORTVERSION}-200606291905/,} \
|
||||
${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,}
|
||||
DISTFILES= eclipse-sourceBuild-srcIncluded-${PORTVERSION}.zip \
|
||||
${ANT_DISTFILE}:antbin
|
||||
DIST_SUBDIR= eclipse
|
||||
EXTRACT_ONLY= eclipse-sourceBuild-srcIncluded-${PORTVERSION}.zip
|
||||
|
||||
MAINTAINER= maho@FreeBSD.org
|
||||
COMMENT= The JDT Core Batch Compiler
|
||||
|
||||
USE_ZIP= yes
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt
|
||||
RUN_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt
|
||||
|
||||
ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
|
||||
ANT_VERSION= 1.6.5
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 700000
|
||||
IGNORE= dumps core on 7.x
|
||||
.endif
|
||||
|
||||
GCJ= gcj41
|
||||
GIJ= gij41
|
||||
JAR= fastjar41
|
||||
ANT= ${WRKDIR}/apache-ant-${ANT_VERSION}/bin/ant
|
||||
GCJDBTOOL= gcj-dbtool41
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
MAKE_ENV+= WRKDIR="${WRKDIR}" GCJ="${GCJ}" JAR="${JAR}" GCJDBTOOL="${GCJDBTOOL}"\
|
||||
ANT="${ANT}" JAVACMD="${WRKDIR}/gnugcj/bin/gij" PATH="${WRKDIR}/gnugcj/bin:${PATH}"
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
|
||||
|
||||
pre-build:
|
||||
@${MKDIR} ${WRKDIR}/gnugcj/bin
|
||||
@${LN} -sf ${LOCALBASE}/bin/${GCJ} ${WRKDIR}/gnugcj/bin/gcj
|
||||
@${LN} -sf ${LOCALBASE}/bin/${GIJ} ${WRKDIR}/gnugcj/bin/gij
|
||||
|
||||
do-build:
|
||||
@cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} ${SH} -x ${FILESDIR}/build.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/ecj-bootstrap-gcj ${PREFIX}/bin
|
||||
${LN} -fs ${PREFIX}/bin/ecj-bootstrap-gcj ${PREFIX}/bin/ecj
|
||||
${INSTALL_DATA} ${WRKDIR}/ecj.jar.so ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKDIR}/ecj.jar ${PREFIX}/share/java/
|
||||
# ${INSTALL_DATA} ${WRKDIR}/ecj.db ${PREFIX}/share/gcj-4.1/classmap.d
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
@@ -1,6 +0,0 @@
|
||||
MD5 (eclipse/eclipse-sourceBuild-srcIncluded-3.2.zip) = 67b41802092d4b2f779fb756dcaec85c
|
||||
SHA256 (eclipse/eclipse-sourceBuild-srcIncluded-3.2.zip) = e9366fd3046be753f821be786156c472148928101cf6bf8f9d31b455cb6039da
|
||||
SIZE (eclipse/eclipse-sourceBuild-srcIncluded-3.2.zip) = 82018640
|
||||
MD5 (eclipse/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
|
||||
SHA256 (eclipse/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
|
||||
SIZE (eclipse/apache-ant-1.6.5-bin.tar.bz2) = 6743024
|
||||
@@ -1,79 +0,0 @@
|
||||
#!/bin/sh
|
||||
# taken from eclipse.spec of
|
||||
# <fedora mirror>/fedora/core/5/source/SRPMS/eclipse-3.1.2-1jpp_13fc.src.rpm
|
||||
# for fedora mirror, please consult following site.
|
||||
# http://fedora.redhat.com/download/mirrors.html
|
||||
|
||||
# Bootstrapping is 3 parts:
|
||||
# 0. Patch ecj.zip
|
||||
# 1. Build ecj with gcj -C
|
||||
# 2. Build ecj with gcj-built ecj ("javac")
|
||||
# 3. Re-build ecj with output of 2.
|
||||
|
||||
# Patch ecj.zip first
|
||||
rm -rf tmp
|
||||
mkdir tmp
|
||||
unzip -qq -d tmp jdtcoresrc/src/ecj.zip
|
||||
cd tmp
|
||||
patch < ../../files/ecj-patch-Main.java
|
||||
zip -r ../jdtcoresrc/src/ecj.zip *
|
||||
cd ..
|
||||
|
||||
# Unzip the "stable compiler" source into a temp dir and build it.
|
||||
# Note: we don't want to build the CompilerAdapter.
|
||||
|
||||
rm -rf ecj-bootstrap-tmp
|
||||
mkdir ecj-bootstrap-tmp
|
||||
unzip -qq -d ecj-bootstrap-tmp jdtcoresrc/src/ecj.zip
|
||||
rm -f ecj-bootstrap-tmp/org/eclipse/jdt/core/JDTCompilerAdapter.java
|
||||
|
||||
# 1a. Build ecj with gcj -C
|
||||
cd ecj-bootstrap-tmp
|
||||
for f in `find . -name '*.java' | cut -c 3-`; do
|
||||
${GCJ} -Wno-deprecated -C $f
|
||||
done
|
||||
find . -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\
|
||||
xargs ${JAR} cf ../ecj-bootstrap.jar
|
||||
cd ..
|
||||
|
||||
# Delete our modified ecj and restore the backup
|
||||
rm -rf ecj-bootstrap-tmp
|
||||
|
||||
# 1b. Natively-compile it
|
||||
|
||||
${GCJ} -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic -o ecj-bootstrap.jar.so ecj-bootstrap.jar
|
||||
|
||||
${GCJDBTOOL} -n ecj-bootstrap.db 30000
|
||||
${GCJDBTOOL} -a ecj-bootstrap.db ecj-bootstrap.jar ecj-bootstrap.jar.so
|
||||
|
||||
# 2a. Build ecj
|
||||
export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH
|
||||
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db"
|
||||
${ANT} -Dbuild.compiler=gcj -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
|
||||
|
||||
${GCJ} -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
|
||||
-o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
|
||||
|
||||
${GCJDBTOOL} -n jdtcoresrc/ecj.db 30000
|
||||
${GCJDBTOOL} -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar jdtcoresrc/ecj.jar.so
|
||||
|
||||
# Remove our gcj-built ecj
|
||||
rm ecj-bootstrap.db ecj-bootstrap.jar ecj-bootstrap.jar.so
|
||||
|
||||
# To enSURE we're not using any pre-compiled ecj on the build system, set this
|
||||
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
|
||||
|
||||
# 3. Use this ecj to rebuild itself
|
||||
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
|
||||
${ANT} -Dbuild.compiler=gcj -buildfile jdtcoresrc/compilejdtcore.xml
|
||||
|
||||
# Natively-compile it
|
||||
${GCJ} -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
|
||||
-o ecj.jar.so ecj.jar
|
||||
${GCJDBTOOL} -n ecj.db 30000
|
||||
${GCJDBTOOL} -a ecj.db ecj.jar ecj.jar.so
|
||||
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
|
||||
rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
|
||||
|
||||
# Creating native executable
|
||||
${GCJ} -O2 -g -Wl,-Bsymbolic -fPIC -fjni -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.Main -o ecj-bootstrap-gcj ecj.jar
|
||||
@@ -1,21 +0,0 @@
|
||||
Dirty hack...recognize sun.boot.class.path for implicit bootclasspath.
|
||||
|
||||
--- org/eclipse/jdt/internal/compiler/batch/Main.java Fri Aug 4 15:14:29 2006
|
||||
+++ org/eclipse/jdt/internal/compiler/batch/Main.java Fri Aug 4 16:04:13 2006
|
||||
@@ -2448,6 +2448,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+ /*
|
||||
+ * Handle sun.boot.class.path
|
||||
+ */
|
||||
+ String sunboot = System.getProperty("sun.boot.class.path");
|
||||
+ File sunbootclasspath = new File (sunboot);
|
||||
+ FileSystem.Classpath classpath = FileSystem.getClasspath(
|
||||
+ sunbootclasspath.getAbsolutePath(),
|
||||
+ null, false, null);
|
||||
+ if (classpath != null) {bootclasspaths.add(classpath);}
|
||||
}
|
||||
final int classpathsSize = classpaths.size();
|
||||
if (classpaths.size() != 0) {
|
||||
@@ -1,32 +0,0 @@
|
||||
A workaround for running ant with gcj.
|
||||
|
||||
--- jdtcoresrc/compilejdtcorewithjavac.xml~ Fri Jun 30 08:20:48 2006
|
||||
+++ jdtcoresrc/compilejdtcorewithjavac.xml Wed Aug 2 23:09:35 2006
|
||||
@@ -15,7 +15,7 @@
|
||||
<delete dir="${destdir}"/>
|
||||
<mkdir dir="${destdir}"/>
|
||||
|
||||
- <property name="compilerArg" value="-encoding ISO-8859-1" />
|
||||
+ <property name="compilerArg" value="-encoding=ISO-8859-1" />
|
||||
<property name="javacSource" value="1.3" />
|
||||
<property name="javacTarget" value="1.2" />
|
||||
<property name="javacDebugInfo" value="on" />
|
||||
--- jdtcoresrc/compilejdtcore.xml~ Fri Jun 30 08:20:48 2006
|
||||
+++ jdtcoresrc/compilejdtcore.xml Wed Aug 2 23:11:00 2006
|
||||
@@ -25,14 +25,14 @@
|
||||
</condition>
|
||||
</fail>
|
||||
|
||||
- <condition property="compilerArg" value="-encoding ISO-8859-1">
|
||||
+ <condition property="compilerArg" value="-encoding=ISO-8859-1">
|
||||
<equals arg1="${build.compiler}" arg2="org.eclipse.jdt.core.JDTCompilerAdapter" />
|
||||
</condition>
|
||||
|
||||
<echo message="compilerArg ${compilerArg}"/>
|
||||
<echo message="build compiler ${build.compiler}"/>
|
||||
|
||||
- <property name="compilerArg" value="-encoding ISO-8859-1" />
|
||||
+ <property name="compilerArg" value="-encoding=ISO-8859-1" />
|
||||
<property name="javacSource" value="1.3" />
|
||||
<property name="javacTarget" value="1.2" />
|
||||
<property name="javacDebugInfo" value="on" />
|
||||
@@ -1,22 +0,0 @@
|
||||
a workaround for running ant with gcj. ant+gcj
|
||||
somehow doesn't find ecj.jar.
|
||||
|
||||
--- jdtcoresrc/compilejdtcore.xml~ Thu Aug 3 00:17:48 2006
|
||||
+++ jdtcoresrc/compilejdtcore.xml Thu Aug 3 00:19:33 2006
|
||||
@@ -14,16 +14,6 @@
|
||||
<delete dir="${destdir}"/>
|
||||
<mkdir dir="${destdir}"/>
|
||||
|
||||
- <condition property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter">
|
||||
- <available file="ecj.jar" />
|
||||
- </condition>
|
||||
- <fail message="The Eclipse compiler (ecj.jar) cannot be found.">
|
||||
- <condition>
|
||||
- <not>
|
||||
- <equals arg1="${build.compiler}" arg2="org.eclipse.jdt.core.JDTCompilerAdapter" />
|
||||
- </not>
|
||||
- </condition>
|
||||
- </fail>
|
||||
|
||||
<condition property="compilerArg" value="-encoding=ISO-8859-1">
|
||||
<equals arg1="${build.compiler}" arg2="org.eclipse.jdt.core.JDTCompilerAdapter" />
|
||||
@@ -1,5 +0,0 @@
|
||||
The JDT Core Batch Compiler (stand alone verison of the Eclipse
|
||||
Java Compiler).
|
||||
This compiler is compatible with Java 1.3, 1.4 and 1.5.
|
||||
|
||||
WWW: http://www.eclipse.org/
|
||||
@@ -1,4 +0,0 @@
|
||||
bin/ecj-bootstrap-gcj
|
||||
bin/ecj
|
||||
lib/ecj.jar.so
|
||||
share/java/ecj.jar
|
||||
@@ -1,51 +0,0 @@
|
||||
# New ports collection makefile for: gjdoc
|
||||
# Date created: 8 March 2006
|
||||
# Whom: Maho Nakata <maho@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gjdoc
|
||||
PORTVERSION= 0.7.7
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU} \
|
||||
http://www.antlr.org/download/:antlr
|
||||
MASTER_SITE_SUBDIR= classpath
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
${ANTLR}.jar:antlr
|
||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= maho@FreeBSD.org
|
||||
COMMENT= A documentation generation framework; javadoc alternative
|
||||
|
||||
BUILD_DEPENDS= gcj41:${PORTSDIR}/lang/gcc41 \
|
||||
gcp:${PORTSDIR}/sysutils/coreutils
|
||||
|
||||
ANTLRVER= 2.7.5
|
||||
ANTLR= antlr-${ANTLRVER}
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --with-antlr-jar=${ANTLR}.jar
|
||||
CONFIGURE_ENV= PATH="${WRKDIR}/bin:${PATH}" LDFLAGS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= PATH="${WRKDIR}/bin:${PATH}"
|
||||
SCRIPT_ENV= PATH="${WRKDIR}/bin:${PATH}"
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
MAN1= gjdoc.1
|
||||
INFO= gjdoc
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= Broken dependency (JAVA is not enabled at lang/gcc41)
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${DISTDIR}/${ANTLR}.jar ${WRKSRC}
|
||||
@${MKDIR} ${WRKDIR}/bin
|
||||
@${LN} -s ${LOCALBASE}/bin/gcj41 ${WRKDIR}/bin/gcj
|
||||
@${LN} -s ${LOCALBASE}/bin/gij41 ${WRKDIR}/bin/gij
|
||||
@${LN} -s ${LOCALBASE}/bin/fastjar41 ${WRKDIR}/bin/fastjar
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
@@ -1,6 +0,0 @@
|
||||
MD5 (gjdoc-0.7.7.tar.gz) = f9755ee2601f7903360680694747a8c7
|
||||
SHA256 (gjdoc-0.7.7.tar.gz) = 6cae05c4c49cd7f33650403a2fdbf1248c20751fa11099ca37bd34a4f1a0bd59
|
||||
SIZE (gjdoc-0.7.7.tar.gz) = 731115
|
||||
MD5 (antlr-2.7.5.jar) = 6d57df718efd2a03981c309ce3330a1f
|
||||
SHA256 (antlr-2.7.5.jar) = 2433e7e36ebbebe72390036ec555f4c6771eaed33d507b3d5d65497804093a0d
|
||||
SIZE (antlr-2.7.5.jar) = 435563
|
||||
@@ -1,22 +0,0 @@
|
||||
--- Makefile.in~ Sun Feb 19 21:54:20 2006
|
||||
+++ Makefile.in Sun Feb 19 21:55:14 2006
|
||||
@@ -616,7 +616,8 @@
|
||||
LTGCJCOMPILE = $(LIBGCJCOMPILE) -MF $(@:.lo=.d)
|
||||
jar_DATA = com-sun-javadoc-$(VERSION).jar \
|
||||
com-sun-tools-doclets-Taglet-$(VERSION).jar \
|
||||
- gnu-classpath-tools-gjdoc-$(VERSION).jar
|
||||
+ gnu-classpath-tools-gjdoc-$(VERSION).jar \
|
||||
+ $(ANTLR_JAR)
|
||||
|
||||
jardir = $(datadir)/java
|
||||
BUILT_SOURCES = $(jar_DATA)
|
||||
@@ -3755,7 +3755,7 @@
|
||||
|
||||
gnu-classpath-tools-gjdoc-$(VERSION).jar: $(srcdir)/gjdoc.manifest src/resources/version.properties $(gnu_classpath_tools_gjdoc_jar_CLASSES) $(gnu_classpath_tools_gjdoc_jar_GENCLASSES) $(gjdoc_resources_src)
|
||||
for res in $(gjdoc_resources) ; \
|
||||
- do cp -u $(srcdir)/src/resources/$$res $$res ; done
|
||||
+ do gcp -u $(srcdir)/src/resources/$$res $$res ; done
|
||||
$(JAR) cfm $@ $(srcdir)/gjdoc.manifest \
|
||||
$(gjdoc_resources) \
|
||||
-C src/resources version.properties \
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Gjdoc is a documentation generation framework for java source files;
|
||||
espcially generating API documentation in HTML format from
|
||||
doc comments in source code.
|
||||
Also, ANTLR (ANother Tool for Language Recognition) is used; this is
|
||||
a language tool that provides a framework for constructing recognizers,
|
||||
compilers, and translators from grammatical descriptions containing
|
||||
Java, C#, C++, or Python actions.
|
||||
|
||||
WWW: http://www.gnu.org/software/classpath/cp-tools/
|
||||
http://www.antlr.org/
|
||||
@@ -1,14 +0,0 @@
|
||||
bin/gjdoc
|
||||
lib/lib-com-sun-javadoc.so
|
||||
lib/lib-com-sun-javadoc.so.0
|
||||
lib/lib-com-sun-javadoc.la
|
||||
lib/lib-com-sun-tools-doclets-Taglet.so
|
||||
lib/lib-com-sun-tools-doclets-Taglet.so.0
|
||||
lib/lib-com-sun-tools-doclets-Taglet.la
|
||||
lib/lib-gnu-classpath-tools-gjdoc.so
|
||||
lib/lib-gnu-classpath-tools-gjdoc.so.0
|
||||
lib/lib-gnu-classpath-tools-gjdoc.la
|
||||
share/java/com-sun-javadoc-0.7.7.jar
|
||||
share/java/com-sun-tools-doclets-Taglet-0.7.7.jar
|
||||
share/java/gnu-classpath-tools-gjdoc-0.7.7.jar
|
||||
share/java/antlr-2.7.5.jar
|
||||
Reference in New Issue
Block a user