aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-03-31 03:56:31 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-03-31 03:56:31 +0000
commit56da273a59bd41c82f88ff892de8cd5f2717e49b (patch)
tree0f7682443e18b97d92c6ce352f416ae72fb6a3aa /palm
parenta42132972c788f129760fc3d5c5b6f6519ac48b7 (diff)
downloadports-56da273a59bd41c82f88ff892de8cd5f2717e49b.tar.gz
ports-56da273a59bd41c82f88ff892de8cd5f2717e49b.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/prc-tools-binutils/Makefile50
-rw-r--r--palm/prc-tools-binutils/distinfo2
-rw-r--r--palm/prc-tools-binutils/files/patch-aa20
-rw-r--r--palm/prc-tools-binutils/pkg-comment1
-rw-r--r--palm/prc-tools-binutils/pkg-descr3
-rw-r--r--palm/prc-tools-binutils/pkg-plist38
6 files changed, 114 insertions, 0 deletions
diff --git a/palm/prc-tools-binutils/Makefile b/palm/prc-tools-binutils/Makefile
new file mode 100644
index 000000000000..ca99daf72d3e
--- /dev/null
+++ b/palm/prc-tools-binutils/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Palm OS PRC-tools (binutils part)
+# Version required: 2.0
+# Date created: Mar 22 2000
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= prc-tools-2.0
+PKGNAME= prc-tools-binutils-2.0
+CATEGORIES= palm
+MASTER_SITES= http://www.palm.com/devzone/tools/gcc/dist/ \
+ ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= binutils
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} binutils-2.9.1.tar.gz
+
+MAINTAINER= kuriyama@FreeBSD.org
+
+USE_BISON= YES
+USE_GMAKE= YES
+PREFIX= ${LOCALBASE}/pilot
+WRKSRC= ${WRKDIR}/build
+HAS_CONFIGURE= YES
+CONFIGURE_SCRIPT= ../prc-tools-2.0/configure
+CONFIGURE_ARGS= --target=m68k-palmos --enable-languages=c,c++ \
+ --sharedstatedir=${LOCALBASE}/palmdev --prefix=${PREFIX}
+ALL_TARGET= all-host
+INSTALL_TARGET= install-host
+MAN1= m68k-palmos-addr2line.1 m68k-palmos-ar.1 \
+ m68k-palmos-as.1 m68k-palmos-c++filt.1 \
+ m68k-palmos-ld.1 m68k-palmos-nlmconv.1 \
+ m68k-palmos-nm.1 m68k-palmos-objcopy.1 \
+ m68k-palmos-objdump.1 m68k-palmos-ranlib.1 \
+ m68k-palmos-size.1 m68k-palmos-strings.1 \
+ m68k-palmos-strip.1
+
+pre-patch:
+ ${MKDIR} ${WRKSRC}/empty
+ (cd ${WRKDIR} && \
+ ${CAT} prc-tools-2.0/binutils-2.9.1.palmos.diff | ${PATCH} -p0)
+
+pre-configure:
+ (cd ${WRKDIR}/prc-tools-2.0 && \
+ ${LN} -sf ../binutils-2.9.1 binutils)
+
+post-install:
+ ${RM} ${PREFIX}/bin/m68k-palmos-c++filt
+ ${RM} ${PREFIX}/lib/libiberty.a
+
+.include <bsd.port.mk>
diff --git a/palm/prc-tools-binutils/distinfo b/palm/prc-tools-binutils/distinfo
new file mode 100644
index 000000000000..06cb169d3b7c
--- /dev/null
+++ b/palm/prc-tools-binutils/distinfo
@@ -0,0 +1,2 @@
+MD5 (prc-tools-2.0.tar.gz) = cd22ec500ebb3ec90fd8a8da53c6e39a
+MD5 (binutils-2.9.1.tar.gz) = 8f9ad1a6e96742fd3069479171a63c22
diff --git a/palm/prc-tools-binutils/files/patch-aa b/palm/prc-tools-binutils/files/patch-aa
new file mode 100644
index 000000000000..54644d7d1c45
--- /dev/null
+++ b/palm/prc-tools-binutils/files/patch-aa
@@ -0,0 +1,20 @@
+--- ../prc-tools-2.0/Makefile.in~ Tue Feb 8 04:37:04 2000
++++ ../prc-tools-2.0/Makefile.in Fri Mar 24 10:07:03 2000
+@@ -31,7 +31,7 @@
+ all-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+- if (cd $${dir} && $(MAKE) all info); then true; else exit 1; fi; \
++ if (cd $${dir} && $(MAKE) all); then true; else exit 1; fi; \
+ fi; \
+ done
+
+@@ -50,7 +50,7 @@
+ install-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+- if (cd $${dir} && $(MAKE) install install-info); then true; else exit 1; fi; \
++ if (cd $${dir} && $(MAKE) install); then true; else exit 1; fi; \
+ fi; \
+ done
+
diff --git a/palm/prc-tools-binutils/pkg-comment b/palm/prc-tools-binutils/pkg-comment
new file mode 100644
index 000000000000..b62e5d8209bf
--- /dev/null
+++ b/palm/prc-tools-binutils/pkg-comment
@@ -0,0 +1 @@
+PRC-tools for Palm OS (binutils part)
diff --git a/palm/prc-tools-binutils/pkg-descr b/palm/prc-tools-binutils/pkg-descr
new file mode 100644
index 000000000000..86f3f3a3ab8c
--- /dev/null
+++ b/palm/prc-tools-binutils/pkg-descr
@@ -0,0 +1,3 @@
+PRC-tools for Palm OS (binutils part)
+
+WWW: http://www.palm.com/devzone/tools/gcc/
diff --git a/palm/prc-tools-binutils/pkg-plist b/palm/prc-tools-binutils/pkg-plist
new file mode 100644
index 000000000000..1dd81ae1c018
--- /dev/null
+++ b/palm/prc-tools-binutils/pkg-plist
@@ -0,0 +1,38 @@
+bin/build-prc
+bin/m68k-palmos-addr2line
+bin/m68k-palmos-ar
+bin/m68k-palmos-as
+bin/m68k-palmos-gasp
+bin/m68k-palmos-ld
+bin/m68k-palmos-nm
+bin/m68k-palmos-obj-res
+bin/m68k-palmos-objcopy
+bin/m68k-palmos-objdump
+bin/m68k-palmos-ranlib
+bin/m68k-palmos-size
+bin/m68k-palmos-strings
+bin/m68k-palmos-strip
+bin/multigen
+bin/obj-res
+include/ansidecl.h
+include/bfd.h
+include/bfdlink.h
+lib/libbfd.a
+lib/libbfd.la
+lib/libopcodes.a
+lib/libopcodes.la
+m68k-palmos/bin/ar
+m68k-palmos/bin/as
+m68k-palmos/bin/ld
+m68k-palmos/bin/nm
+m68k-palmos/bin/ranlib
+m68k-palmos/bin/strip
+m68k-palmos/lib/ldscripts/m68kcoff.x
+m68k-palmos/lib/ldscripts/m68kcoff.xbn
+m68k-palmos/lib/ldscripts/m68kcoff.xn
+m68k-palmos/lib/ldscripts/m68kcoff.xr
+m68k-palmos/lib/ldscripts/m68kcoff.xu
+@dirrm m68k-palmos/lib/ldscripts
+@dirrm m68k-palmos/lib
+@dirrm m68k-palmos/bin
+@dirrm m68k-palmos