aboutsummaryrefslogtreecommitdiffstats
path: root/devel/i386-rtems-gcj
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-10 12:32:35 +0800
committersteve <steve@FreeBSD.org>2000-07-10 12:32:35 +0800
commitbaf00c90b0ff860e2ca98ff8a90ae868938be116 (patch)
tree82dc32e1ba892ad0bd718859ac844d0f1d90442f /devel/i386-rtems-gcj
parented5968c01d002e5ee352a51bbf640d1a42273931 (diff)
downloadfreebsd-ports-gnome-baf00c90b0ff860e2ca98ff8a90ae868938be116.tar.gz
freebsd-ports-gnome-baf00c90b0ff860e2ca98ff8a90ae868938be116.tar.zst
freebsd-ports-gnome-baf00c90b0ff860e2ca98ff8a90ae868938be116.zip
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors. PR: 19335 Submitted by: James Housley <jim@thehouselys.net>
Diffstat (limited to 'devel/i386-rtems-gcj')
-rw-r--r--devel/i386-rtems-gcj/Makefile70
-rw-r--r--devel/i386-rtems-gcj/distinfo4
-rw-r--r--devel/i386-rtems-gcj/files/patch-aa21
-rw-r--r--devel/i386-rtems-gcj/pkg-comment1
-rw-r--r--devel/i386-rtems-gcj/pkg-descr10
-rw-r--r--devel/i386-rtems-gcj/pkg-plist1
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.i386-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.m68k-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.mips-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.mips64orion-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.powerpc-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.sh-rtems6
-rw-r--r--devel/i386-rtems-gcj/pkg-plist.sparc-rtems6
13 files changed, 149 insertions, 0 deletions
diff --git a/devel/i386-rtems-gcj/Makefile b/devel/i386-rtems-gcj/Makefile
new file mode 100644
index 000000000000..eb0c709a079a
--- /dev/null
+++ b/devel/i386-rtems-gcj/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: i386-rtems-gcj
+# Date created: 9 June 2000
+# Whom: James Housley <jim@thehousleys.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gcj
+PORTVERSION= 2.95.2
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
+ http://www.thehousleys.net/rtems-4.5.0b3/
+DISTFILES= ${JAVANAME}.tar.gz ${NEWLIBNAME}.tar.gz
+PATCHFILES= ${JAVANAME}-rtems-20000531.diff.gz \
+ ${NEWLIBNAME}-rtems-20000606.diff.gz
+PATCH_SITES= ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
+ http://www.thehousleys.net/rtems-4.5.0b3/
+
+MAINTAINER= jim@thehousleys.net
+
+DIST_SUBDIR= rtems
+
+LCLTARGET?= i386-rtems
+
+JAVANAME= gcc-2.95.2
+NEWLIBNAME= newlib-1.8.2
+MASTERDIR= ${.CURDIR}/../i386-rtems-gcj
+PLIST= ${PKGDIR}/PLIST.${LCLTARGET}
+
+BUILD_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
+RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
+
+PKGNAMEPREFIX= ${LCLTARGET}-
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+ALL_TARGET= all info
+
+CONFIGURE_TARGET?= --target=${LCLTARGET}
+CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \
+ --enable-languages="java"
+CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
+CONFIGURE_SCRIPT?= ../${JAVANAME}/configure
+
+MAKE_FLAGS= LANGUAGES="java"
+
+.if defined(PATCH_DEBUG)
+PATCH_DEBUG_TMP= yes
+PATCH_ARGS= -d ${WRKDIR}/${JAVANAME} -E ${PATCH_STRIP}
+PATCH_DIST_ARGS= -d ${WRKDIR} -E ${PATCH_DIST_STRIP}
+.else
+PATCH_DEBUG_TMP= no
+PATCH_ARGS= -d ${WRKDIR}/${JAVANAME} --forward --quiet -E ${PATCH_STRIP}
+PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
+.endif
+
+pre-configure:
+ @(cd ${WRKDIR} ; \
+ cd ${JAVANAME} ; ${LN} -fs ../${NEWLIBNAME}/newlib . ; \
+ cd .. ; \
+ ${MKDIR} build-${LCLTARGET})
+
+do-build:
+ @(cd ${WRKDIR}/build-${LCLTARGET} ; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+
+do-install:
+ @(cd ${WRKDIR}/build-${LCLTARGET} && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+
+.include <bsd.port.mk>
diff --git a/devel/i386-rtems-gcj/distinfo b/devel/i386-rtems-gcj/distinfo
new file mode 100644
index 000000000000..1812cfe4a2fd
--- /dev/null
+++ b/devel/i386-rtems-gcj/distinfo
@@ -0,0 +1,4 @@
+MD5 (rtems/gcc-2.95.2-rtems-20000531.diff.gz) = e62392e923fcfb4b472b5440903c618e
+MD5 (rtems/gcc-2.95.2.tar.gz) = 1bf15194e6b99d088133b1d28176d949
+MD5 (rtems/newlib-1.8.2-rtems-20000606.diff.gz) = ab84b0f07d4c07756ac37861679e4f5d
+MD5 (rtems/newlib-1.8.2.tar.gz) = b4df8090127da174e42852dd200a42db
diff --git a/devel/i386-rtems-gcj/files/patch-aa b/devel/i386-rtems-gcj/files/patch-aa
new file mode 100644
index 000000000000..ae13b3ca1b3b
--- /dev/null
+++ b/devel/i386-rtems-gcj/files/patch-aa
@@ -0,0 +1,21 @@
+--- gcc/Makefile.in.orig Fri Aug 13 03:46:55 1999
++++ gcc/Makefile.in Mon Jun 12 22:04:15 2000
+@@ -2590,18 +2590,6 @@
+
+ # Install the man pages.
+ install-man: installdirs $(srcdir)/gcc.1 $(srcdir)/cccp.1 lang.install-man
+- -if [ -f gcc-cross$(exeext) ] ; then \
+- rm -f $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
+- $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
+- chmod a-x $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
+- else \
+- rm -f $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
+- $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
+- chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
+- fi
+- -rm -f $(man1dir)/cccp$(manext)
+- -$(INSTALL_DATA) $(srcdir)/cccp.1 $(man1dir)/cccp$(manext)
+- -chmod a-x $(man1dir)/cccp$(manext)
+
+ # Install the library.
+ install-libgcc: libgcc.a installdirs
diff --git a/devel/i386-rtems-gcj/pkg-comment b/devel/i386-rtems-gcj/pkg-comment
new file mode 100644
index 000000000000..d87890bdb2b4
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-comment
@@ -0,0 +1 @@
+FSF JAVA-gcc-2.95.2 base-port for RTEMS development
diff --git a/devel/i386-rtems-gcj/pkg-descr b/devel/i386-rtems-gcj/pkg-descr
new file mode 100644
index 000000000000..ad6c36d143f2
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-descr
@@ -0,0 +1,10 @@
+The base port for all the RTEMS JAVA-gcc ports. RTEMS is a
+Real-Time Operating System of Embedded Software development.
+It has its origins in the US Military, but is now open-source
+and supported by a wide varity of GNU tool languages. It
+a large number of processors and systems.
+
+WWW: http://www.oarcorp.com
+
+- Jim
+jim@thehousleys.net
diff --git a/devel/i386-rtems-gcj/pkg-plist b/devel/i386-rtems-gcj/pkg-plist
new file mode 100644
index 000000000000..549a621fec0c
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist
@@ -0,0 +1 @@
+@comment this plist intentionally left empty
diff --git a/devel/i386-rtems-gcj/pkg-plist.i386-rtems b/devel/i386-rtems-gcj/pkg-plist.i386-rtems
new file mode 100644
index 000000000000..00a5f12be2ef
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.i386-rtems
@@ -0,0 +1,6 @@
+bin/i386-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/i386-rtems/2.95.2/jc1
+lib/gcc-lib/i386-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.m68k-rtems b/devel/i386-rtems-gcj/pkg-plist.m68k-rtems
new file mode 100644
index 000000000000..39a74e0aeaa1
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.m68k-rtems
@@ -0,0 +1,6 @@
+bin/m68k-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/m68k-rtems/2.95.2/jc1
+lib/gcc-lib/m68k-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.mips-rtems b/devel/i386-rtems-gcj/pkg-plist.mips-rtems
new file mode 100644
index 000000000000..cc13702368a1
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.mips-rtems
@@ -0,0 +1,6 @@
+bin/mips64orion-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/mips64orion-rtems/2.95.2/jc1
+lib/gcc-lib/mips64orion-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.mips64orion-rtems b/devel/i386-rtems-gcj/pkg-plist.mips64orion-rtems
new file mode 100644
index 000000000000..cc13702368a1
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.mips64orion-rtems
@@ -0,0 +1,6 @@
+bin/mips64orion-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/mips64orion-rtems/2.95.2/jc1
+lib/gcc-lib/mips64orion-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.powerpc-rtems b/devel/i386-rtems-gcj/pkg-plist.powerpc-rtems
new file mode 100644
index 000000000000..6bf09fd55eec
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.powerpc-rtems
@@ -0,0 +1,6 @@
+bin/powerpc-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/powerpc-rtems/2.95.2/jc1
+lib/gcc-lib/powerpc-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.sh-rtems b/devel/i386-rtems-gcj/pkg-plist.sh-rtems
new file mode 100644
index 000000000000..2bda83a49fd7
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.sh-rtems
@@ -0,0 +1,6 @@
+bin/sh-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/sh-rtems/2.95.2/jc1
+lib/gcc-lib/sh-rtems/2.95.2/jvgenmain
diff --git a/devel/i386-rtems-gcj/pkg-plist.sparc-rtems b/devel/i386-rtems-gcj/pkg-plist.sparc-rtems
new file mode 100644
index 000000000000..fc3ef6eae531
--- /dev/null
+++ b/devel/i386-rtems-gcj/pkg-plist.sparc-rtems
@@ -0,0 +1,6 @@
+bin/sparc-rtems-gcj
+bin/gcjh
+bin/jv-scan
+bin/jcf-dump
+lib/gcc-lib/sparc-rtems/2.95.2/jc1
+lib/gcc-lib/sparc-rtems/2.95.2/jvgenmain