summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-04-25 17:39:16 +0000
committerwiz <wiz@pkgsrc.org>2001-04-25 17:39:16 +0000
commit9660ab3557d28592d0a3954cf7a8039afe9ae90c (patch)
treed118654cb51dcb716327b971b81b226d4a5265f3 /devel
parentf9f0edb39f3566564e55a6afe22e730ec85f4ad0 (diff)
downloadpkgsrc-9660ab3557d28592d0a3954cf7a8039afe9ae90c.tar.gz
PRC-Tools is a complete compiler tool chain for building Palm OS
applications in C or C++. It is free software. The PRC-Tools package includes patched versions of the GNU packages GCC, binutils, and gdb, along with various post-linker tools to produce Palm OS .PRC files. Supplied by Dieter Baron.
Diffstat (limited to 'devel')
-rw-r--r--devel/palmos-includes/Makefile63
-rw-r--r--devel/palmos-includes/distinfo8
-rw-r--r--devel/palmos-includes/pkg/DESCR2
-rw-r--r--devel/palmos-includes/pkg/PLIST539
-rw-r--r--devel/pilrc/Makefile46
-rw-r--r--devel/pilrc/distinfo6
-rw-r--r--devel/pilrc/patches/patch-aa36
-rw-r--r--devel/pilrc/patches/patch-ab78
-rw-r--r--devel/pilrc/pkg/DESCR4
-rw-r--r--devel/pilrc/pkg/PLIST12
-rw-r--r--devel/prc-tools-base/Makefile11
-rw-r--r--devel/prc-tools-base/distinfo6
-rw-r--r--devel/prc-tools-base/patches/patch-aa54
-rw-r--r--devel/prc-tools-base/patches/patch-ab22
-rw-r--r--devel/prc-tools-base/pkg/DESCR5
-rw-r--r--devel/prc-tools-base/pkg/PLIST25
-rw-r--r--devel/prc-tools-binutils/Makefile13
-rw-r--r--devel/prc-tools-binutils/distinfo11
-rw-r--r--devel/prc-tools-binutils/patches/patch-aa37
-rw-r--r--devel/prc-tools-binutils/patches/patch-ab13
-rw-r--r--devel/prc-tools-binutils/patches/patch-ac13
-rw-r--r--devel/prc-tools-binutils/patches/patch-ad21
-rw-r--r--devel/prc-tools-binutils/patches/patch-ae63
-rw-r--r--devel/prc-tools-binutils/pkg/DESCR5
-rw-r--r--devel/prc-tools-binutils/pkg/PLIST46
-rw-r--r--devel/prc-tools-gcc/Makefile19
-rw-r--r--devel/prc-tools-gcc/distinfo9
-rw-r--r--devel/prc-tools-gcc/patches/patch-aa41
-rw-r--r--devel/prc-tools-gcc/patches/patch-ab15
-rw-r--r--devel/prc-tools-gcc/patches/patch-ac22
-rw-r--r--devel/prc-tools-gcc/pkg/DESCR5
-rw-r--r--devel/prc-tools-gcc/pkg/PLIST59
-rw-r--r--devel/prc-tools-gdb/Makefile16
-rw-r--r--devel/prc-tools-gdb/distinfo8
-rw-r--r--devel/prc-tools-gdb/files/md54
-rw-r--r--devel/prc-tools-gdb/files/patch-sum3
-rw-r--r--devel/prc-tools-gdb/patches/patch-aa25
-rw-r--r--devel/prc-tools-gdb/patches/patch-ab13
-rw-r--r--devel/prc-tools-gdb/pkg/DESCR5
-rw-r--r--devel/prc-tools-gdb/pkg/PLIST3
-rw-r--r--devel/prc-tools/Makefile21
-rw-r--r--devel/prc-tools/Makefile.common31
-rw-r--r--devel/prc-tools/pkg/DESCR5
-rw-r--r--devel/prc-tools/pkg/PLIST2
44 files changed, 1445 insertions, 0 deletions
diff --git a/devel/palmos-includes/Makefile b/devel/palmos-includes/Makefile
new file mode 100644
index 00000000000..eab48fbd3d2
--- /dev/null
+++ b/devel/palmos-includes/Makefile
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+DISTNAME= sdk35
+PKGNAME= palmos-includes-3.5.1
+CATEGORIES= devel
+MASTER_SITES= http://www.palmos.com/dev/tech/tools/gcc/dist/
+DISTFILES= ${DISTSPECIAL} palmos-1-2-3.1-sdks-1${EXTRACT_SUFX}
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.palmos.com/dev/tech/tools/gcc/
+COMMENT= Palm OS include files
+
+BUILD_DEPENDS+= wget-*:../../net/wget
+
+DISTSPECIAL= ${DISTNAME}${EXTRACT_SUFX} sdk35-update1${EXTRACT_SUFX}
+
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+RESTRICTED= Redistribution not permitted
+NO_SRC_ON_CDROM=${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+LICENSE= palmos-sdk-license
+
+DOWNLOAD_URL= http://www.palmos.com/dev/tech/tools/sdk35.cgi
+PALMDEV= ${PREFIX}/share/palmdev
+WGET= ${LOCALBASE}/bin/wget --non-verbose
+
+.include "../../mk/bsd.prefs.mk"
+
+PALMOS_DEFAULT_SDK?= 3.5
+
+pre-fetch: install-depends
+ for f in ${DISTSPECIAL}; \
+ do \
+ if [ ! -f ${DISTDIR}/$$f ]; \
+ then \
+ cd ${DISTDIR} && \
+ ${WGET} --header 'Referer: ${DOWNLOAD_URL}' \
+ ${DOWNLOAD_URL}/$$f; \
+ fi; \
+ done
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PALMDEV}/sdk-1
+ cd ${WRKDIR}/sdk-1 && ${PAX} -rw include ${PALMDEV}/sdk-1
+ ${INSTALL_DATA_DIR} ${PALMDEV}/sdk-2
+ cd ${WRKDIR}/sdk-2 && ${PAX} -rw include ${PALMDEV}/sdk-2
+ ${INSTALL_DATA_DIR} ${PALMDEV}/sdk-3.1
+ cd ${WRKDIR}/sdk-3.1 && ${PAX} -rw include ${PALMDEV}/sdk-3.1
+ ${INSTALL_DATA_DIR} ${PALMDEV}/sdk-3.5/include
+ cd ${WRKDIR}/Palm\ OS\ 3.5\ Support/Incs \
+ && ${PAX} -rw . ${PALMDEV}/sdk-3.5/include
+ ${INSTALL_DATA_DIR} ${PALMDEV}/sdk-3.5/lib
+ cd ${WRKDIR}/Palm\ OS\ 3.5\ Support/GCC\ Libraries \
+ && ${PAX} -rw . ${PALMDEV}/sdk-3.5/lib
+ cd ${PALMDEV} && ${LN} -s sdk-${PALMOS_DEFAULT_SDK} sdk
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/palmos-includes/distinfo b/devel/palmos-includes/distinfo
new file mode 100644
index 00000000000..0126796a211
--- /dev/null
+++ b/devel/palmos-includes/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (sdk35.tar.gz) = 27b8e16e0c27eee5583d60e750dc2facc32b49d7
+Size (sdk35.tar.gz) = 284047 bytes
+SHA1 (sdk35-update1.tar.gz) = 64cd653f9efab55942513c8dead236daf32e5e97
+Size (sdk35-update1.tar.gz) = 8399 bytes
+SHA1 (palmos-1-2-3.1-sdks-1.tar.gz) = ca5ff870586306ace21025ad0619ff20ce029b84
+Size (palmos-1-2-3.1-sdks-1.tar.gz) = 523519 bytes
diff --git a/devel/palmos-includes/pkg/DESCR b/devel/palmos-includes/pkg/DESCR
new file mode 100644
index 00000000000..5e01881342d
--- /dev/null
+++ b/devel/palmos-includes/pkg/DESCR
@@ -0,0 +1,2 @@
+System include files for PalmOS 1.0, 2.0, 3.1, and 3.5. This version
+is for use with prc-tools.
diff --git a/devel/palmos-includes/pkg/PLIST b/devel/palmos-includes/pkg/PLIST
new file mode 100644
index 00000000000..acb11446b01
--- /dev/null
+++ b/devel/palmos-includes/pkg/PLIST
@@ -0,0 +1,539 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+share/palmdev/sdk
+share/palmdev/sdk-1/include/Core/AppBuildRules.h
+share/palmdev/sdk-1/include/Core/BuildRules.h
+share/palmdev/sdk-1/include/Core/Common.h
+share/palmdev/sdk-1/include/Core/Hardware/Hardware.h
+share/palmdev/sdk-1/include/Core/Hardware/HardwarePrv.h
+share/palmdev/sdk-1/include/Core/Hardware/HardwareTD1.h
+share/palmdev/sdk-1/include/Core/Hardware/M68328Hwr.h
+share/palmdev/sdk-1/include/Core/Hardware/M68681Hwr.h
+share/palmdev/sdk-1/include/Core/Hardware/M68KHwr.h
+share/palmdev/sdk-1/include/Core/Pilot.h
+share/palmdev/sdk-1/include/Core/Pilot.pch
+share/palmdev/sdk-1/include/Core/SysBuildRules.h
+share/palmdev/sdk-1/include/Core/System/AlarmMgr.h
+share/palmdev/sdk-1/include/Core/System/AlarmPrv.h
+share/palmdev/sdk-1/include/Core/System/CMClient.h
+share/palmdev/sdk-1/include/Core/System/CMCommon.h
+share/palmdev/sdk-1/include/Core/System/CMServer.h
+share/palmdev/sdk-1/include/Core/System/ConsoleMgr.h
+share/palmdev/sdk-1/include/Core/System/Crc.h
+share/palmdev/sdk-1/include/Core/System/DLClient.h
+share/palmdev/sdk-1/include/Core/System/DLCommon.h
+share/palmdev/sdk-1/include/Core/System/DLServer.h
+share/palmdev/sdk-1/include/Core/System/DLUtil.h
+share/palmdev/sdk-1/include/Core/System/DataMgr.h
+share/palmdev/sdk-1/include/Core/System/DataPrv.h
+share/palmdev/sdk-1/include/Core/System/DateTime.h
+share/palmdev/sdk-1/include/Core/System/DebugMgr.h
+share/palmdev/sdk-1/include/Core/System/DebugPrv.h
+share/palmdev/sdk-1/include/Core/System/EmuStubs.h
+share/palmdev/sdk-1/include/Core/System/ErrorMgr.h
+share/palmdev/sdk-1/include/Core/System/FatalAlert.h
+share/palmdev/sdk-1/include/Core/System/FeatureMgr.h
+share/palmdev/sdk-1/include/Core/System/FeaturePrv.h
+share/palmdev/sdk-1/include/Core/System/FloatMgr.h
+share/palmdev/sdk-1/include/Core/System/FloatPrv.h
+share/palmdev/sdk-1/include/Core/System/Globals.h
+share/palmdev/sdk-1/include/Core/System/Graffiti.h
+share/palmdev/sdk-1/include/Core/System/GraffitiPrv.h
+share/palmdev/sdk-1/include/Core/System/KeyMgr.h
+share/palmdev/sdk-1/include/Core/System/KeyPrv.h
+share/palmdev/sdk-1/include/Core/System/Keyboard.h
+share/palmdev/sdk-1/include/Core/System/Launcher.h
+share/palmdev/sdk-1/include/Core/System/MemoryMgr.h
+share/palmdev/sdk-1/include/Core/System/MemoryPrv.h
+share/palmdev/sdk-1/include/Core/System/ModemMgr.h
+share/palmdev/sdk-1/include/Core/System/ModemPrv.h
+share/palmdev/sdk-1/include/Core/System/PadCommn.h
+share/palmdev/sdk-1/include/Core/System/PadServer.h
+share/palmdev/sdk-1/include/Core/System/PadUtil.h
+share/palmdev/sdk-1/include/Core/System/PadWS.h
+share/palmdev/sdk-1/include/Core/System/PenMgr.h
+share/palmdev/sdk-1/include/Core/System/PenPrv.h
+share/palmdev/sdk-1/include/Core/System/Preferences.h
+share/palmdev/sdk-1/include/Core/System/SerialLib68328.h
+share/palmdev/sdk-1/include/Core/System/SerialLib68681.h
+share/palmdev/sdk-1/include/Core/System/SerialLibMac.h
+share/palmdev/sdk-1/include/Core/System/SerialLinkMgr.h
+share/palmdev/sdk-1/include/Core/System/SerialLinkPrv.h
+share/palmdev/sdk-1/include/Core/System/SerialMgr.h
+share/palmdev/sdk-1/include/Core/System/SoundMgr.h
+share/palmdev/sdk-1/include/Core/System/SoundPrv.h
+share/palmdev/sdk-1/include/Core/System/StringMgr.h
+share/palmdev/sdk-1/include/Core/System/SysAll.h
+share/palmdev/sdk-1/include/Core/System/SysAll.pch
+share/palmdev/sdk-1/include/Core/System/SysEvtMgr.h
+share/palmdev/sdk-1/include/Core/System/SysEvtPrv.h
+share/palmdev/sdk-1/include/Core/System/SysTraps.h
+share/palmdev/sdk-1/include/Core/System/SysUtils.h
+share/palmdev/sdk-1/include/Core/System/SystemMgr.h
+share/palmdev/sdk-1/include/Core/System/SystemMgr.rh
+share/palmdev/sdk-1/include/Core/System/SystemPkt.h
+share/palmdev/sdk-1/include/Core/System/SystemPrv.h
+share/palmdev/sdk-1/include/Core/System/TimeMgr.h
+share/palmdev/sdk-1/include/Core/System/TimePrv.h
+share/palmdev/sdk-1/include/Core/UI/AboutBox.h
+share/palmdev/sdk-1/include/Core/UI/Category.h
+share/palmdev/sdk-1/include/Core/UI/CharAttr.h
+share/palmdev/sdk-1/include/Core/UI/Chars.h
+share/palmdev/sdk-1/include/Core/UI/ClipBoard.h
+share/palmdev/sdk-1/include/Core/UI/Control.h
+share/palmdev/sdk-1/include/Core/UI/Day.h
+share/palmdev/sdk-1/include/Core/UI/Event.h
+share/palmdev/sdk-1/include/Core/UI/Field.h
+share/palmdev/sdk-1/include/Core/UI/Find.h
+share/palmdev/sdk-1/include/Core/UI/Font.h
+share/palmdev/sdk-1/include/Core/UI/Form.h
+share/palmdev/sdk-1/include/Core/UI/GraffitiShift.h
+share/palmdev/sdk-1/include/Core/UI/GraffitiUI.h
+share/palmdev/sdk-1/include/Core/UI/Init.h
+share/palmdev/sdk-1/include/Core/UI/InsPoint.h
+share/palmdev/sdk-1/include/Core/UI/List.h
+share/palmdev/sdk-1/include/Core/UI/Menu.h
+share/palmdev/sdk-1/include/Core/UI/Rect.h
+share/palmdev/sdk-1/include/Core/UI/ScrDriver.h
+share/palmdev/sdk-1/include/Core/UI/SelDay.h
+share/palmdev/sdk-1/include/Core/UI/SelTime.h
+share/palmdev/sdk-1/include/Core/UI/Table.h
+share/palmdev/sdk-1/include/Core/UI/UIAll.h
+share/palmdev/sdk-1/include/Core/UI/UICommon.h
+share/palmdev/sdk-1/include/Core/UI/UIGlobals.h
+share/palmdev/sdk-1/include/Core/UI/Window.h
+share/palmdev/sdk-2/include/Core/AppBuildRules.h
+share/palmdev/sdk-2/include/Core/BuildRules.h
+share/palmdev/sdk-2/include/Core/Common.h
+share/palmdev/sdk-2/include/Core/Hardware/Hardware.h
+share/palmdev/sdk-2/include/Core/Hardware/HardwarePrv.h
+share/palmdev/sdk-2/include/Core/Hardware/HardwareTD1.h
+share/palmdev/sdk-2/include/Core/Hardware/M68328Hwr.h
+share/palmdev/sdk-2/include/Core/Hardware/M68681Hwr.h
+share/palmdev/sdk-2/include/Core/Hardware/M68KHwr.h
+share/palmdev/sdk-2/include/Core/Pilot.h
+share/palmdev/sdk-2/include/Core/SysBuildRules.h
+share/palmdev/sdk-2/include/Core/System/AlarmMgr.h
+share/palmdev/sdk-2/include/Core/System/AlarmPrv.h
+share/palmdev/sdk-2/include/Core/System/AppLaunchCmd.h
+share/palmdev/sdk-2/include/Core/System/CMClient.h
+share/palmdev/sdk-2/include/Core/System/CMCommon.h
+share/palmdev/sdk-2/include/Core/System/CMServer.h
+share/palmdev/sdk-2/include/Core/System/ConsoleMgr.h
+share/palmdev/sdk-2/include/Core/System/Crc.h
+share/palmdev/sdk-2/include/Core/System/DLClient.h
+share/palmdev/sdk-2/include/Core/System/DLCommon.h
+share/palmdev/sdk-2/include/Core/System/DLServer.h
+share/palmdev/sdk-2/include/Core/System/DLUtil.h
+share/palmdev/sdk-2/include/Core/System/DataMgr.h
+share/palmdev/sdk-2/include/Core/System/DataPrv.h
+share/palmdev/sdk-2/include/Core/System/DateTime.h
+share/palmdev/sdk-2/include/Core/System/DebugMgr.h
+share/palmdev/sdk-2/include/Core/System/DebugPrv.h
+share/palmdev/sdk-2/include/Core/System/EmuStubs.h
+share/palmdev/sdk-2/include/Core/System/Encrypt.h
+share/palmdev/sdk-2/include/Core/System/ErrorMgr.h
+share/palmdev/sdk-2/include/Core/System/FatalAlert.h
+share/palmdev/sdk-2/include/Core/System/FeatureMgr.h
+share/palmdev/sdk-2/include/Core/System/FeaturePrv.h
+share/palmdev/sdk-2/include/Core/System/FloatMgr.h
+share/palmdev/sdk-2/include/Core/System/FloatPrv.h
+share/palmdev/sdk-2/include/Core/System/Globals.h
+share/palmdev/sdk-2/include/Core/System/Graffiti.h
+share/palmdev/sdk-2/include/Core/System/GraffitiPrv.h
+share/palmdev/sdk-2/include/Core/System/GraffitiReference.h
+share/palmdev/sdk-2/include/Core/System/HSUtil.h
+share/palmdev/sdk-2/include/Core/System/HTALAPI.h
+share/palmdev/sdk-2/include/Core/System/KeyMgr.h
+share/palmdev/sdk-2/include/Core/System/KeyPrv.h
+share/palmdev/sdk-2/include/Core/System/Keyboard.h
+share/palmdev/sdk-2/include/Core/System/Launcher.h
+share/palmdev/sdk-2/include/Core/System/Localize.h
+share/palmdev/sdk-2/include/Core/System/MemoryMgr.h
+share/palmdev/sdk-2/include/Core/System/MemoryPrv.h
+share/palmdev/sdk-2/include/Core/System/ModemMgr.h
+share/palmdev/sdk-2/include/Core/System/ModemPrv.h
+share/palmdev/sdk-2/include/Core/System/NetMgr.h
+share/palmdev/sdk-2/include/Core/System/NewFloatMgr.h
+share/palmdev/sdk-2/include/Core/System/PadCommn.h
+share/palmdev/sdk-2/include/Core/System/PadServer.h
+share/palmdev/sdk-2/include/Core/System/PadUtil.h
+share/palmdev/sdk-2/include/Core/System/PadWS.h
+share/palmdev/sdk-2/include/Core/System/Password.h
+share/palmdev/sdk-2/include/Core/System/PenMgr.h
+share/palmdev/sdk-2/include/Core/System/PenPrv.h
+share/palmdev/sdk-2/include/Core/System/Preferences.h
+share/palmdev/sdk-2/include/Core/System/SerialLib68328.h
+share/palmdev/sdk-2/include/Core/System/SerialLib68681.h
+share/palmdev/sdk-2/include/Core/System/SerialLibMac.h
+share/palmdev/sdk-2/include/Core/System/SerialLinkMgr.h
+share/palmdev/sdk-2/include/Core/System/SerialLinkPrv.h
+share/palmdev/sdk-2/include/Core/System/SerialMgr.h
+share/palmdev/sdk-2/include/Core/System/SoundMgr.h
+share/palmdev/sdk-2/include/Core/System/SoundPrv.h
+share/palmdev/sdk-2/include/Core/System/StringMgr.h
+share/palmdev/sdk-2/include/Core/System/SysAll.h
+share/palmdev/sdk-2/include/Core/System/SysAll.pch
+share/palmdev/sdk-2/include/Core/System/SysAll.pch++
+share/palmdev/sdk-2/include/Core/System/SysConfigPrv.h
+share/palmdev/sdk-2/include/Core/System/SysEvtMgr.h
+share/palmdev/sdk-2/include/Core/System/SysEvtPrv.h
+share/palmdev/sdk-2/include/Core/System/SysTraps.h
+share/palmdev/sdk-2/include/Core/System/SysUtils.h
+share/palmdev/sdk-2/include/Core/System/SystemMgr.h
+share/palmdev/sdk-2/include/Core/System/SystemMgr.rh
+share/palmdev/sdk-2/include/Core/System/SystemPkt.h
+share/palmdev/sdk-2/include/Core/System/SystemPrv.h
+share/palmdev/sdk-2/include/Core/System/TimeMgr.h
+share/palmdev/sdk-2/include/Core/System/TimePrv.h
+share/palmdev/sdk-2/include/Core/System/Unix/arpa_inet.h
+share/palmdev/sdk-2/include/Core/System/Unix/gcc_stdarg.h
+share/palmdev/sdk-2/include/Core/System/Unix/header.gcc
+share/palmdev/sdk-2/include/Core/System/Unix/netdb.h
+share/palmdev/sdk-2/include/Core/System/Unix/netinet_in.h
+share/palmdev/sdk-2/include/Core/System/Unix/netinet_ip.h
+share/palmdev/sdk-2/include/Core/System/Unix/netinet_systm.h
+share/palmdev/sdk-2/include/Core/System/Unix/netinet_tcp.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_errno.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_socket.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_socketvar.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_time.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_types.h
+share/palmdev/sdk-2/include/Core/System/Unix/sys_uio.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_fcntl.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_netdb.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_stdarg.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_stdio.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_stdlib.h
+share/palmdev/sdk-2/include/Core/System/Unix/unix_string.h
+share/palmdev/sdk-2/include/Core/UI/AboutBox.h
+share/palmdev/sdk-2/include/Core/UI/Category.h
+share/palmdev/sdk-2/include/Core/UI/CharAttr.h
+share/palmdev/sdk-2/include/Core/UI/Chars.h
+share/palmdev/sdk-2/include/Core/UI/ClipBoard.h
+share/palmdev/sdk-2/include/Core/UI/Control.h
+share/palmdev/sdk-2/include/Core/UI/Day.h
+share/palmdev/sdk-2/include/Core/UI/Event.h
+share/palmdev/sdk-2/include/Core/UI/Field.h
+share/palmdev/sdk-2/include/Core/UI/Find.h
+share/palmdev/sdk-2/include/Core/UI/Font.h
+share/palmdev/sdk-2/include/Core/UI/Form.h
+share/palmdev/sdk-2/include/Core/UI/GraffitiShift.h
+share/palmdev/sdk-2/include/Core/UI/GraffitiUI.h
+share/palmdev/sdk-2/include/Core/UI/Init.h
+share/palmdev/sdk-2/include/Core/UI/InsPoint.h
+share/palmdev/sdk-2/include/Core/UI/List.h
+share/palmdev/sdk-2/include/Core/UI/Menu.h
+share/palmdev/sdk-2/include/Core/UI/PhoneLookup.h
+share/palmdev/sdk-2/include/Core/UI/Rect.h
+share/palmdev/sdk-2/include/Core/UI/ScrDriver.h
+share/palmdev/sdk-2/include/Core/UI/ScrollBar.h
+share/palmdev/sdk-2/include/Core/UI/SelDay.h
+share/palmdev/sdk-2/include/Core/UI/SelTime.h
+share/palmdev/sdk-2/include/Core/UI/Table.h
+share/palmdev/sdk-2/include/Core/UI/UIAll.h
+share/palmdev/sdk-2/include/Core/UI/UICommon.h
+share/palmdev/sdk-2/include/Core/UI/UIGlobals.h
+share/palmdev/sdk-2/include/Core/UI/Window.h
+share/palmdev/sdk-3.1/include/Core/AppBuildRules.h
+share/palmdev/sdk-3.1/include/Core/BuildRules.h
+share/palmdev/sdk-3.1/include/Core/Common.h
+share/palmdev/sdk-3.1/include/Core/Es.Prefix.h
+share/palmdev/sdk-3.1/include/Core/Fr.Prefix.h
+share/palmdev/sdk-3.1/include/Core/Ge.Prefix.h
+share/palmdev/sdk-3.1/include/Core/Hardware/Hardware.h
+share/palmdev/sdk-3.1/include/Core/Hardware/M68KHwr.h
+share/palmdev/sdk-3.1/include/Core/International/CharLatin.h
+share/palmdev/sdk-3.1/include/Core/International/CharShiftJIS.h
+share/palmdev/sdk-3.1/include/Core/International/IntlMgr.h
+share/palmdev/sdk-3.1/include/Core/International/JapaneseFEP.h
+share/palmdev/sdk-3.1/include/Core/International/TextMgr.h
+share/palmdev/sdk-3.1/include/Core/International/TextServices.h
+share/palmdev/sdk-3.1/include/Core/Jp.Prefix.h
+share/palmdev/sdk-3.1/include/Core/Pilot.h
+share/palmdev/sdk-3.1/include/Core/SysBuildRules.h
+share/palmdev/sdk-3.1/include/Core/System/AlarmMgr.h
+share/palmdev/sdk-3.1/include/Core/System/AppLaunchCmd.h
+share/palmdev/sdk-3.1/include/Core/System/CMClient.h
+share/palmdev/sdk-3.1/include/Core/System/CMCommon.h
+share/palmdev/sdk-3.1/include/Core/System/ConsoleMgr.h
+share/palmdev/sdk-3.1/include/Core/System/Crc.h
+share/palmdev/sdk-3.1/include/Core/System/DLCommon.h
+share/palmdev/sdk-3.1/include/Core/System/DLServer.h
+share/palmdev/sdk-3.1/include/Core/System/DataMgr.h
+share/palmdev/sdk-3.1/include/Core/System/DataPrv.h
+share/palmdev/sdk-3.1/include/Core/System/DateTime.h
+share/palmdev/sdk-3.1/include/Core/System/DebugMgr.h
+share/palmdev/sdk-3.1/include/Core/System/DebugPrv.h
+share/palmdev/sdk-3.1/include/Core/System/Encrypt.h
+share/palmdev/sdk-3.1/include/Core/System/ErrorMgr.h
+share/palmdev/sdk-3.1/include/Core/System/ExgLib.h
+share/palmdev/sdk-3.1/include/Core/System/ExgMgr.h
+share/palmdev/sdk-3.1/include/Core/System/FatalAlert.h
+share/palmdev/sdk-3.1/include/Core/System/FeatureMgr.h
+share/palmdev/sdk-3.1/include/Core/System/FileStream.h
+share/palmdev/sdk-3.1/include/Core/System/FloatMgr.h
+share/palmdev/sdk-3.1/include/Core/System/Globals.h
+share/palmdev/sdk-3.1/include/Core/System/Graffiti.h
+share/palmdev/sdk-3.1/include/Core/System/GraffitiReference.h
+share/palmdev/sdk-3.1/include/Core/System/HostControl.h
+share/palmdev/sdk-3.1/include/Core/System/ImcUtils.h
+share/palmdev/sdk-3.1/include/Core/System/IrLib.h
+share/palmdev/sdk-3.1/include/Core/System/KeyMgr.h
+share/palmdev/sdk-3.1/include/Core/System/Keyboard.h
+share/palmdev/sdk-3.1/include/Core/System/Launcher.h
+share/palmdev/sdk-3.1/include/Core/System/Localize.h
+share/palmdev/sdk-3.1/include/Core/System/MemoryMgr.h
+share/palmdev/sdk-3.1/include/Core/System/MemoryPrv.h
+share/palmdev/sdk-3.1/include/Core/System/MemoryPrvNew.h
+share/palmdev/sdk-3.1/include/Core/System/ModemMgr.h
+share/palmdev/sdk-3.1/include/Core/System/NetMgr.h
+share/palmdev/sdk-3.1/include/Core/System/NewFloatMgr.h
+share/palmdev/sdk-3.1/include/Core/System/Password.h
+share/palmdev/sdk-3.1/include/Core/System/PenMgr.h
+share/palmdev/sdk-3.1/include/Core/System/PilotStdio.h
+share/palmdev/sdk-3.1/include/Core/System/Preferences.h
+share/palmdev/sdk-3.1/include/Core/System/SerialLinkMgr.h
+share/palmdev/sdk-3.1/include/Core/System/SerialLinkPrv.h
+share/palmdev/sdk-3.1/include/Core/System/SerialMgr.h
+share/palmdev/sdk-3.1/include/Core/System/SoundMgr.h
+share/palmdev/sdk-3.1/include/Core/System/StringMgr.h
+share/palmdev/sdk-3.1/include/Core/System/SysAll.h
+share/palmdev/sdk-3.1/include/Core/System/SysEvtMgr.h
+share/palmdev/sdk-3.1/include/Core/System/SysTraps.h
+share/palmdev/sdk-3.1/include/Core/System/SysUtils.h
+share/palmdev/sdk-3.1/include/Core/System/SystemMgr.h
+share/palmdev/sdk-3.1/include/Core/System/SystemMgr.rh
+share/palmdev/sdk-3.1/include/Core/System/SystemPkt.h
+share/palmdev/sdk-3.1/include/Core/System/SystemPrv.h
+share/palmdev/sdk-3.1/include/Core/System/TimeMgr.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/arpa_inet.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/netdb.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/netinet_in.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/netinet_in_systm.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/netinet_ip.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/netinet_tcp.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_errno.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_socket.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_socketvar.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_time.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_types.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/sys_uio.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_fcntl.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_netdb.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_stdarg.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_stdio.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_stdlib.h
+share/palmdev/sdk-3.1/include/Core/System/Unix/unix_string.h
+share/palmdev/sdk-3.1/include/Core/UI/AboutBox.h
+share/palmdev/sdk-3.1/include/Core/UI/Category.h
+share/palmdev/sdk-3.1/include/Core/UI/CharAttr.h
+share/palmdev/sdk-3.1/include/Core/UI/Chars.h
+share/palmdev/sdk-3.1/include/Core/UI/ClipBoard.h
+share/palmdev/sdk-3.1/include/Core/UI/Contrast.h
+share/palmdev/sdk-3.1/include/Core/UI/Control.h
+share/palmdev/sdk-3.1/include/Core/UI/Day.h
+share/palmdev/sdk-3.1/include/Core/UI/Event.h
+share/palmdev/sdk-3.1/include/Core/UI/Field.h
+share/palmdev/sdk-3.1/include/Core/UI/Find.h
+share/palmdev/sdk-3.1/include/Core/UI/Font.h
+share/palmdev/sdk-3.1/include/Core/UI/FontSelect.h
+share/palmdev/sdk-3.1/include/Core/UI/Form.h
+share/palmdev/sdk-3.1/include/Core/UI/GraffitiShift.h
+share/palmdev/sdk-3.1/include/Core/UI/GraffitiUI.h
+share/palmdev/sdk-3.1/include/Core/UI/Init.h
+share/palmdev/sdk-3.1/include/Core/UI/InsPoint.h
+share/palmdev/sdk-3.1/include/Core/UI/List.h
+share/palmdev/sdk-3.1/include/Core/UI/Menu.h
+share/palmdev/sdk-3.1/include/Core/UI/PhoneLookup.h
+share/palmdev/sdk-3.1/include/Core/UI/Progress.h
+share/palmdev/sdk-3.1/include/Core/UI/Rect.h
+share/palmdev/sdk-3.1/include/Core/UI/ScrDriver.h
+share/palmdev/sdk-3.1/include/Core/UI/ScrDriverNew.h
+share/palmdev/sdk-3.1/include/Core/UI/ScrollBar.h
+share/palmdev/sdk-3.1/include/Core/UI/SelDay.h
+share/palmdev/sdk-3.1/include/Core/UI/SelTime.h
+share/palmdev/sdk-3.1/include/Core/UI/Table.h
+share/palmdev/sdk-3.1/include/Core/UI/UIAll.h
+share/palmdev/sdk-3.1/include/Core/UI/UICommon.h
+share/palmdev/sdk-3.1/include/Core/UI/UIGlobals.h
+share/palmdev/sdk-3.1/include/Core/UI/Window.h
+share/palmdev/sdk-3.1/include/Core/UI/WindowNew.h
+share/palmdev/sdk-3.1/include/Core/Us.Prefix.h
+share/palmdev/sdk-3.1/include/header.gcc
+share/palmdev/sdk-3.5/include/BuildDefaults.h
+share/palmdev/sdk-3.5/include/BuildDefines.h
+share/palmdev/sdk-3.5/include/Core/CoreTraps.h
+share/palmdev/sdk-3.5/include/Core/Hardware/HAL.h
+share/palmdev/sdk-3.5/include/Core/Hardware/HwrMiscFlags.h
+share/palmdev/sdk-3.5/include/Core/Hardware/M68KHwr.h
+share/palmdev/sdk-3.5/include/Core/System/AlarmMgr.h
+share/palmdev/sdk-3.5/include/Core/System/AppLaunchCmd.h
+share/palmdev/sdk-3.5/include/Core/System/Bitmap.h
+share/palmdev/sdk-3.5/include/Core/System/CMCommon.h
+share/palmdev/sdk-3.5/include/Core/System/CMLConst.h
+share/palmdev/sdk-3.5/include/Core/System/CTP.h
+share/palmdev/sdk-3.5/include/Core/System/CharAttr.h
+share/palmdev/sdk-3.5/include/Core/System/CharLatin.h
+share/palmdev/sdk-3.5/include/Core/System/CharShiftJIS.h
+share/palmdev/sdk-3.5/include/Core/System/Chars.h
+share/palmdev/sdk-3.5/include/Core/System/ConnectionMgr.h
+share/palmdev/sdk-3.5/include/Core/System/ConsoleMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Crc.h
+share/palmdev/sdk-3.5/include/Core/System/DLCommon.h
+share/palmdev/sdk-3.5/include/Core/System/DLServer.h
+share/palmdev/sdk-3.5/include/Core/System/DataMgr.h
+share/palmdev/sdk-3.5/include/Core/System/DateTime.h
+share/palmdev/sdk-3.5/include/Core/System/DebugMgr.h
+share/palmdev/sdk-3.5/include/Core/System/EmuStubs.h
+share/palmdev/sdk-3.5/include/Core/System/Encrypt.h
+share/palmdev/sdk-3.5/include/Core/System/ErrorBase.h
+share/palmdev/sdk-3.5/include/Core/System/ErrorMgr.h
+share/palmdev/sdk-3.5/include/Core/System/ExgLib.h
+share/palmdev/sdk-3.5/include/Core/System/ExgMgr.h
+share/palmdev/sdk-3.5/include/Core/System/FeatureMgr.h
+share/palmdev/sdk-3.5/include/Core/System/FileStream.h
+share/palmdev/sdk-3.5/include/Core/System/FloatMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Font.h
+share/palmdev/sdk-3.5/include/Core/System/Graffiti.h
+share/palmdev/sdk-3.5/include/Core/System/HostControl.h
+share/palmdev/sdk-3.5/include/Core/System/ImcUtils.h
+share/palmdev/sdk-3.5/include/Core/System/IntlMgr.h
+share/palmdev/sdk-3.5/include/Core/System/IrLib.h
+share/palmdev/sdk-3.5/include/Core/System/KeyMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Localize.h
+share/palmdev/sdk-3.5/include/Core/System/MemoryMgr.h
+share/palmdev/sdk-3.5/include/Core/System/ModemMgr.h
+share/palmdev/sdk-3.5/include/Core/System/NetBitUtils.h
+share/palmdev/sdk-3.5/include/Core/System/NetMgr.h
+share/palmdev/sdk-3.5/include/Core/System/NotifyMgr.h
+share/palmdev/sdk-3.5/include/Core/System/OverlayMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Password.h
+share/palmdev/sdk-3.5/include/Core/System/PenMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Preferences.h
+share/palmdev/sdk-3.5/include/Core/System/Rect.h
+share/palmdev/sdk-3.5/include/Core/System/ScriptPlugin.h
+share/palmdev/sdk-3.5/include/Core/System/SerialDrvr.h
+share/palmdev/sdk-3.5/include/Core/System/SerialLinkMgr.h
+share/palmdev/sdk-3.5/include/Core/System/SerialMgr.h
+share/palmdev/sdk-3.5/include/Core/System/SerialMgrOld.h
+share/palmdev/sdk-3.5/include/Core/System/SerialSdrv.h
+share/palmdev/sdk-3.5/include/Core/System/SerialVdrv.h
+share/palmdev/sdk-3.5/include/Core/System/SoundMgr.h
+share/palmdev/sdk-3.5/include/Core/System/StdIOPalm.h
+share/palmdev/sdk-3.5/include/Core/System/StdIOProvider.h
+share/palmdev/sdk-3.5/include/Core/System/StringMgr.h
+share/palmdev/sdk-3.5/include/Core/System/SysEvent.h
+share/palmdev/sdk-3.5/include/Core/System/SysEvtMgr.h
+share/palmdev/sdk-3.5/include/Core/System/SysResTypes.rh
+share/palmdev/sdk-3.5/include/Core/System/SysUtils.h
+share/palmdev/sdk-3.5/include/Core/System/SystemMgr.h
+share/palmdev/sdk-3.5/include/Core/System/SystemPkt.h
+share/palmdev/sdk-3.5/include/Core/System/SystemPublic.h
+share/palmdev/sdk-3.5/include/Core/System/SystemResources.h
+share/palmdev/sdk-3.5/include/Core/System/TextMgr.h
+share/palmdev/sdk-3.5/include/Core/System/TextServicesMgr.h
+share/palmdev/sdk-3.5/include/Core/System/TimeMgr.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/arpa_inet.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/netdb.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/netinet_in.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/netinet_in_systm.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/netinet_ip.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/netinet_tcp.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_errno.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_socket.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_socketvar.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_time.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_types.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/sys_uio.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_fcntl.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_netdb.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_stdarg.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_stdio.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_stdlib.h
+share/palmdev/sdk-3.5/include/Core/System/Unix/unix_string.h
+share/palmdev/sdk-3.5/include/Core/System/Window.h
+share/palmdev/sdk-3.5/include/Core/UI/AboutBox.h
+share/palmdev/sdk-3.5/include/Core/UI/Category.h
+share/palmdev/sdk-3.5/include/Core/UI/Clipboard.h
+share/palmdev/sdk-3.5/include/Core/UI/Control.h
+share/palmdev/sdk-3.5/include/Core/UI/Day.h
+share/palmdev/sdk-3.5/include/Core/UI/Event.h
+share/palmdev/sdk-3.5/include/Core/UI/FatalAlert.h
+share/palmdev/sdk-3.5/include/Core/UI/Field.h
+share/palmdev/sdk-3.5/include/Core/UI/Find.h
+share/palmdev/sdk-3.5/include/Core/UI/FontSelect.h
+share/palmdev/sdk-3.5/include/Core/UI/Form.h
+share/palmdev/sdk-3.5/include/Core/UI/GraffitiReference.h
+share/palmdev/sdk-3.5/include/Core/UI/GraffitiShift.h
+share/palmdev/sdk-3.5/include/Core/UI/InsPoint.h
+share/palmdev/sdk-3.5/include/Core/UI/Keyboard.h
+share/palmdev/sdk-3.5/include/Core/UI/Launcher.h
+share/palmdev/sdk-3.5/include/Core/UI/List.h
+share/palmdev/sdk-3.5/include/Core/UI/Menu.h
+share/palmdev/sdk-3.5/include/Core/UI/PhoneLookup.h
+share/palmdev/sdk-3.5/include/Core/UI/PrivateRecords.h
+share/palmdev/sdk-3.5/include/Core/UI/Progress.h
+share/palmdev/sdk-3.5/include/Core/UI/ScrollBar.h
+share/palmdev/sdk-3.5/include/Core/UI/SelDay.h
+share/palmdev/sdk-3.5/include/Core/UI/SelTime.h
+share/palmdev/sdk-3.5/include/Core/UI/Table.h
+share/palmdev/sdk-3.5/include/Core/UI/UIColor.h
+share/palmdev/sdk-3.5/include/Core/UI/UIControls.h
+share/palmdev/sdk-3.5/include/Core/UI/UIPublic.h
+share/palmdev/sdk-3.5/include/Core/UI/UIResDefs.r
+share/palmdev/sdk-3.5/include/Core/UI/UIResources.h
+share/palmdev/sdk-3.5/include/Dynamic/PalmOptErrorCheckLevel.Debug
+share/palmdev/sdk-3.5/include/Dynamic/PalmOptErrorCheckLevel.Release
+share/palmdev/sdk-3.5/include/Dynamic/PalmOptErrorCheckLevel.h
+share/palmdev/sdk-3.5/include/Libraries/INet/INetMgr.h
+share/palmdev/sdk-3.5/include/Libraries/LibTraps.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/DateGlue.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/FntGlue.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/IntlGlue.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/TsmGlue.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/TxtGlue.h
+share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue/WinGlue.h
+share/palmdev/sdk-3.5/include/PalmCompatibility.h
+share/palmdev/sdk-3.5/include/PalmOS.h
+share/palmdev/sdk-3.5/include/PalmOS.pch
+share/palmdev/sdk-3.5/include/PalmOS.win.pch
+share/palmdev/sdk-3.5/include/PalmTypes.h
+share/palmdev/sdk-3.5/include/header.gcc
+share/palmdev/sdk-3.5/lib/m68k-palmos-coff/libNetSocket.a
+share/palmdev/sdk-3.5/lib/m68k-palmos-coff/libPalmOSGlue-debug.a
+share/palmdev/sdk-3.5/lib/m68k-palmos-coff/libPalmOSGlue.a
+@dirrm share/palmdev/sdk-3.5/lib/m68k-palmos-coff
+@dirrm share/palmdev/sdk-3.5/lib
+@dirrm share/palmdev/sdk-3.5/include/Libraries/PalmOSGlue
+@dirrm share/palmdev/sdk-3.5/include/Libraries/INet
+@dirrm share/palmdev/sdk-3.5/include/Libraries
+@dirrm share/palmdev/sdk-3.5/include/Dynamic
+@dirrm share/palmdev/sdk-3.5/include/Core/UI
+@dirrm share/palmdev/sdk-3.5/include/Core/System/Unix
+@dirrm share/palmdev/sdk-3.5/include/Core/System
+@dirrm share/palmdev/sdk-3.5/include/Core/Hardware
+@dirrm share/palmdev/sdk-3.5/include/Core
+@dirrm share/palmdev/sdk-3.5/include
+@dirrm share/palmdev/sdk-3.5/
+@dirrm share/palmdev/sdk-3.1/include/Core/UI
+@dirrm share/palmdev/sdk-3.1/include/Core/System/Unix
+@dirrm share/palmdev/sdk-3.1/include/Core/System
+@dirrm share/palmdev/sdk-3.1/include/Core/International
+@dirrm share/palmdev/sdk-3.1/include/Core/Hardware
+@dirrm share/palmdev/sdk-3.1/include/Core
+@dirrm share/palmdev/sdk-3.1/include
+@dirrm share/palmdev/sdk-3.1
+@dirrm share/palmdev/sdk-2/include/Core/UI
+@dirrm share/palmdev/sdk-2/include/Core/System/Unix
+@dirrm share/palmdev/sdk-2/include/Core/System
+@dirrm share/palmdev/sdk-2/include/Core/Hardware
+@dirrm share/palmdev/sdk-2/include/Core
+@dirrm share/palmdev/sdk-2/include
+@dirrm share/palmdev/sdk-2
+@dirrm share/palmdev/sdk-1/include/Core/UI
+@dirrm share/palmdev/sdk-1/include/Core/System
+@dirrm share/palmdev/sdk-1/include/Core/Hardware
+@dirrm share/palmdev/sdk-1/include/Core
+@dirrm share/palmdev/sdk-1/include
+@dirrm share/palmdev/sdk-1
+@dirrm share/palmdev
diff --git a/devel/pilrc/Makefile b/devel/pilrc/Makefile
new file mode 100644
index 00000000000..8aa4ca6e137
--- /dev/null
+++ b/devel/pilrc/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+DISTNAME= pilrc-2_7b
+PKGNAME= pilrc-2.7b
+CATEGORIES= devel
+MASTER_SITES= http://www.ardiri.com/download/palm/pilrc/archive/
+#PATCH_SITES= http://www.ardiri.com/download/palm/pilrc/patch/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.ardiri.com/index.cfm?redir=palm&cat=pilrc
+COMMENT= generate resources for PalmOS applications from textual description
+
+.include "../../mk/bsd.prefs.mk"
+
+PILRC_USE_GTK?= YES
+.if ${PILRC_USE_GTK} == YES
+DEPENDS+= gtk+>=1.2.0:../../x11/gtk
+PLIST_SUBST+= PILRCUI=''
+.else
+CONFIGURE_ARGS+=--disable-pilrcui
+PLIST_SUBST+= PILRCUI='@comment '
+.endif
+
+EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE}
+
+WRKSRC= ${WRKDIR}/pilrc-2.7b
+GNU_CONFIGURE= YES
+
+DOCDIR= ${PREFIX}/share/doc/html/pilrc
+
+post-extract:
+ ${CHMOD} +x ${WRKSRC}/configure
+
+post-install:
+ ${MKDIR} ${DOCDIR}
+ ${MKDIR} ${DOCDIR}/images
+ for f in archive.html download.html index.html contrib.html \
+ history.html manual.html ; \
+ do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${DOCDIR} ; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pilrc/distinfo b/devel/pilrc/distinfo
new file mode 100644
index 00000000000..170ae012173
--- /dev/null
+++ b/devel/pilrc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (pilrc-2_7b.zip) = cc40803940f1749e387fdc4acb221168252e461e
+Size (pilrc-2_7b.zip) = 192381 bytes
+SHA1 (patch-aa) = e8ed545addaa333ea755efef6388a452f06f4c12
+SHA1 (patch-ab) = 8a494bd68f1b7d758b1618c7a5776f4363af660e
diff --git a/devel/pilrc/patches/patch-aa b/devel/pilrc/patches/patch-aa
new file mode 100644
index 00000000000..b4d0e39c17c
--- /dev/null
+++ b/devel/pilrc/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- configure.in.orig Thu Feb 8 08:50:24 2001
++++ configure.in Thu Mar 22 12:11:10 2001
+@@ -34,13 +34,24 @@
+ AC_PROG_CC
+ AC_PROG_RANLIB
+
+-AM_PATH_GTK(1.2.0,
+-[
+-AM_CONDITIONAL(PILRCUI, true)
+-],
+-[
+-AM_CONDITIONAL(PILRCUI, false)
+-])
++AC_ARG_ENABLE(pilrcui,
++ [ --enable-pilrcui build pilrcui (needs gtk; default: enabled)])
++
++AC_MSG_CHECKING([whether pilrcui should be built])
++if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes
++then
++ AC_MSG_RESULT([yes])
++ AM_PATH_GTK(1.2.0,
++ [
++ AM_CONDITIONAL(PILRCUI, true)
++ ],
++ [
++ AM_CONDITIONAL(PILRCUI, false)
++ ])
++else
++ AC_MSG_RESULT([no])
++ AM_CONDITIONAL(PILRCUI, false)
++fi
+
+ # Check for warnings flag if gcc was detected.
+ if test "x$ac_cv_prog_gcc" = "xyes"; then
diff --git a/devel/pilrc/patches/patch-ab b/devel/pilrc/patches/patch-ab
new file mode 100644
index 00000000000..df46e381aed
--- /dev/null
+++ b/devel/pilrc/patches/patch-ab
@@ -0,0 +1,78 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- configure.orig Thu Mar 22 15:09:11 2001
++++ configure Thu Mar 22 15:09:18 2001
+@@ -12,6 +12,8 @@
+ ac_default_prefix=/usr/local
+ # Any additions from configure.in:
+ ac_help="$ac_help
++ --enable-pilrcui build pilrcui (needs gtk; default: enabled)"
++ac_help="$ac_help
+ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
+ ac_help="$ac_help
+ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
+@@ -558,7 +560,7 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+-echo "configure:562: checking for a BSD compatible install" >&5
++echo "configure:564: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+@@ -611,7 +613,7 @@
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+ echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
+-echo "configure:615: checking whether build environment is sane" >&5
++echo "configure:617: checking whether build environment is sane" >&5
+ # Just in case
+ sleep 1
+ echo timestamp > conftestfile
+@@ -1033,7 +1035,19 @@
+ fi
+
+
+-# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
++# Check whether --enable-pilrcui or --disable-pilrcui was given.
++if test "${enable_pilrcui+set}" = set; then
++ enableval="$enable_pilrcui"
++ :
++fi
++
++
++echo $ac_n "checking whether pilrcui should be built""... $ac_c" 1>&6
++echo "configure:1047: checking whether pilrcui should be built" >&5
++if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes
++then
++ echo "$ac_t""yes" 1>&6
++ # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
+ if test "${with_gtk_prefix+set}" = set; then
+ withval="$with_gtk_prefix"
+ gtk_config_prefix="$withval"
+@@ -1315,12 +1329,24 @@
+ PILRCUI_TRUE='#'
+ PILRCUI_FALSE=
+ fi
+-
++
+ fi
+
+
+ rm -f conf.gtktest
+
++else
++ echo "$ac_t""no" 1>&6
++
++
++if false; then
++ PILRCUI_TRUE=
++ PILRCUI_FALSE='#'
++else
++ PILRCUI_TRUE='#'
++ PILRCUI_FALSE=
++fi
++fi
+
+ # Check for warnings flag if gcc was detected.
+ if test "x$ac_cv_prog_gcc" = "xyes"; then
diff --git a/devel/pilrc/pkg/DESCR b/devel/pilrc/pkg/DESCR
new file mode 100644
index 00000000000..5ce016b0d83
--- /dev/null
+++ b/devel/pilrc/pkg/DESCR
@@ -0,0 +1,4 @@
+PilRC is an application that takes a resource script file and
+generates one or more binary resource files that are to be used
+when developing for the Palm Computing Platform. PilRCUI gives you
+a preview of your resource file.
diff --git a/devel/pilrc/pkg/PLIST b/devel/pilrc/pkg/PLIST
new file mode 100644
index 00000000000..19d28e6efb5
--- /dev/null
+++ b/devel/pilrc/pkg/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/pilrc
+${PILRCUI}bin/pilrcui
+share/doc/html/pilrc/archive.html
+share/doc/html/pilrc/contrib.html
+share/doc/html/pilrc/download.html
+share/doc/html/pilrc/history.html
+share/doc/html/pilrc/images/download.gif
+share/doc/html/pilrc/index.html
+share/doc/html/pilrc/manual.html
+@dirrm share/doc/html/pilrc/images
+@dirrm share/doc/html/pilrc
diff --git a/devel/prc-tools-base/Makefile b/devel/prc-tools-base/Makefile
new file mode 100644
index 00000000000..524823eb3fd
--- /dev/null
+++ b/devel/prc-tools-base/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-base-${PRC_TOOLS_VERS}
+
+COMMENT= object files and documentation for GNU tool chain for Palm cross development
+
+DEPENDS+= prc-tools-gcc>=2.0:../../devel/prc-tools-gcc
+DEPENDS+= palmos-includes>=3.5.1:../../devel/palmos-includes
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-base/distinfo b/devel/prc-tools-base/distinfo
new file mode 100644
index 00000000000..6ed88fd6320
--- /dev/null
+++ b/devel/prc-tools-base/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (patch-aa) = 8b24570355f555da4fe0f5feaa6ed069dbf8808e
+SHA1 (patch-ab) = a587f32bbbdebc8d4e2e60f3826fce946fedf153
diff --git a/devel/prc-tools-base/patches/patch-aa b/devel/prc-tools-base/patches/patch-aa
new file mode 100644
index 00000000000..a830b81cfd0
--- /dev/null
+++ b/devel/prc-tools-base/patches/patch-aa
@@ -0,0 +1,54 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- Makefile.in.orig Mon Feb 7 20:37:04 2000
++++ Makefile.in Thu Mar 22 15:31:42 2001
+@@ -18,7 +18,8 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+-host_subdirs = $(configured_subdirs) doc tools
++host_local_subdirs = doc
++host_subdirs = $(configured_subdirs) $(host_local_subdirs)
+ target_subdirs = crt libc libm
+
+ # This target will only work if you are willing to do all your building as
+@@ -28,6 +29,15 @@
+ all-install: all-host install-host all-gcc install-gcc \
+ install-palmdev all-target install-target
+
++all: all-host-local all-target
++
++all-host-local:
++ for dir in `echo $(host_local_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; \
++ fi; \
++ done
++
+ all-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+@@ -47,6 +57,15 @@
+ fi; \
+ done
+
++install: install-host-local install-target #install-palmdev
++
++install-host-local:
++ for dir in `echo $(host_local_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; \
++ fi; \
++ done
++
+ install-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+@@ -75,7 +94,5 @@
+
+ install-palmdev:
+ $(INSTALL) -d $(palmdev_prefix)/doc
+- $(INSTALL) -d $(palmdev_prefix)/include
+- $(INSTALL) -d $(palmdev_prefix)/lib/$(full_target)
+ $(INSTALL_DATA) $(srcdir)/COPYING $(palmdev_prefix)/doc/COPYING
+ $(INSTALL_DATA) $(srcdir)/README $(palmdev_prefix)/doc/README
diff --git a/devel/prc-tools-base/patches/patch-ab b/devel/prc-tools-base/patches/patch-ab
new file mode 100644
index 00000000000..273980fd035
--- /dev/null
+++ b/devel/prc-tools-base/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- doc/prc-tools.texi.orig Thu Mar 22 15:27:40 2001
++++ doc/prc-tools.texi Thu Mar 22 15:27:56 2001
+@@ -53,7 +53,7 @@
+ @end titlepage
+
+
+-@ifnottex
++@ifinfo
+ @node Top
+ @top Using PRC-Tools
+
+@@ -80,7 +80,7 @@
+
+ @c * Index::
+ @end menu
+-@end ifnottex
++@end ifinfo
+
+
+ @node GCC on Palm OS
diff --git a/devel/prc-tools-base/pkg/DESCR b/devel/prc-tools-base/pkg/DESCR
new file mode 100644
index 00000000000..02d8170b707
--- /dev/null
+++ b/devel/prc-tools-base/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+These are object files and libraries needed for linking and PRC-Tools
+documentation.
diff --git a/devel/prc-tools-base/pkg/PLIST b/devel/prc-tools-base/pkg/PLIST
new file mode 100644
index 00000000000..44765ae4c2a
--- /dev/null
+++ b/devel/prc-tools-base/pkg/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+@unexec install-info --delete %D/info/prc-tools.info %D/info/dir
+info/prc-tools.info
+@exec install-info %D/info/prc-tools.info %D/info/dir
+m68k-palmos/include/ctype.h
+m68k-palmos/include/errno.h
+m68k-palmos/include/malloc.h
+m68k-palmos/include/math.h
+m68k-palmos/include/mathf.h
+m68k-palmos/include/setjmp.h
+m68k-palmos/include/stdio.h
+m68k-palmos/include/stdlib.h
+m68k-palmos/include/string.h
+m68k-palmos/include/sys/types.h
+m68k-palmos/lib/crt0.o
+m68k-palmos/lib/gcrt0.o
+m68k-palmos/lib/libc.a
+m68k-palmos/lib/libcrt.a
+m68k-palmos/lib/libg.a
+m68k-palmos/lib/libm.a
+m68k-palmos/lib/libmf.a
+m68k-palmos/lib/libnoexcept.a
+m68k-palmos/lib/libstdc++.a
+@dirrm m68k-palmos/include/sys
+@dirrm m68k-palmos/include
diff --git a/devel/prc-tools-binutils/Makefile b/devel/prc-tools-binutils/Makefile
new file mode 100644
index 00000000000..8f6847d4a88
--- /dev/null
+++ b/devel/prc-tools-binutils/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-binutils-${PRC_TOOLS_VERS}
+
+COMMENT= binutils and host tools for GNU tool chain for Palm cross development
+
+BASE_DIST= binutils
+BASE_VERS= 2.9.1
+
+USE_LIBINTL= YES
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-binutils/distinfo b/devel/prc-tools-binutils/distinfo
new file mode 100644
index 00000000000..78d1d77317b
--- /dev/null
+++ b/devel/prc-tools-binutils/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (binutils-2.9.1.tar.gz) = 9df3cdcd34f81118ee403f8794b277ad28a57e14
+Size (binutils-2.9.1.tar.gz) = 5694541 bytes
+SHA1 (patch-aa) = f14227f15679b2f681809bb5c71381bea2760994
+SHA1 (patch-ab) = fd2de0b08c5f9b7bd1c26634d4fac3a6c1eb7e06
+SHA1 (patch-ac) = 4e6960f2943fa79d8240839e653869b037dfdaf7
+SHA1 (patch-ad) = bc1b3c96a553b88a9c2a34d2754af5e5ce2ce2bd
+SHA1 (patch-ae) = 8ec6138d79b3dc032d0e08d93facc3dcee451d50
diff --git a/devel/prc-tools-binutils/patches/patch-aa b/devel/prc-tools-binutils/patches/patch-aa
new file mode 100644
index 00000000000..7a8770c8180
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- Makefile.in.orig Fri Jan 19 05:25:21 2001
++++ Makefile.in Fri Jan 19 05:35:03 2001
+@@ -18,9 +18,13 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+-host_subdirs = $(configured_subdirs) doc tools
++#host_subdirs = $(configured_subdirs) doc tools
++host_subdirs = binutils tools
+ target_subdirs = crt libc libm
+
++all: all-host
++install: install-host
++
+ # This target will only work if you are willing to do all your building as
+ # a user who can write to your install directory, i.e., if you build as root
+ # or if you're on an unprotected file system like Windows.
+@@ -31,7 +35,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 +54,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/devel/prc-tools-binutils/patches/patch-ab b/devel/prc-tools-binutils/patches/patch-ab
new file mode 100644
index 00000000000..1ed3aa01b1e
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- binutils/libiberty/strerror.c.orig Thu Jan 18 23:47:31 2001
++++ binutils/libiberty/strerror.c Thu Jan 18 23:44:32 2001
+@@ -458,7 +458,7 @@
+ #ifdef NEED_sys_errlist
+
+ static int sys_nerr;
+-static const char **sys_errlist;
++static const char * const *sys_errlist;
+
+ #else
+
diff --git a/devel/prc-tools-binutils/patches/patch-ac b/devel/prc-tools-binutils/patches/patch-ac
new file mode 100644
index 00000000000..f70569c44e8
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- tools/Makefile.in.orig Fri Jan 19 05:51:55 2001
++++ tools/Makefile.in Fri Jan 19 05:52:58 2001
+@@ -15,7 +15,7 @@
+ CFLAGS = @CFLAGS@
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ @LIBS@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
diff --git a/devel/prc-tools-binutils/patches/patch-ad b/devel/prc-tools-binutils/patches/patch-ad
new file mode 100644
index 00000000000..57d4e6c7574
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- binutils/Makefile.in.orig Mon Mar 19 18:07:30 2001
++++ binutils/Makefile.in Mon Mar 19 18:12:09 2001
+@@ -597,8 +597,6 @@
+ install-autoconf \
+ install-automake \
+ install-bash \
+- install-bfd \
+- install-opcodes \
+ install-binutils \
+ install-bison \
+ install-byacc \
+@@ -629,7 +627,6 @@
+ install-itcl \
+ install-ld \
+ install-libgui \
+- install-libiberty \
+ install-m4 \
+ install-make \
+ install-mmalloc \
diff --git a/devel/prc-tools-binutils/patches/patch-ae b/devel/prc-tools-binutils/patches/patch-ae
new file mode 100644
index 00000000000..c3430908f29
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ae
@@ -0,0 +1,63 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- tools/def.l.orig Tue Apr 24 08:15:48 2001
++++ tools/def.l Tue Apr 24 08:16:23 2001
+@@ -36,7 +36,7 @@
+ #include "def.tab.h"
+ #include "pfdheader.h"
+
+-static char *dup(const char *s);
++static char *my_dup(const char *s);
+ %}
+
+ %x comment
+@@ -65,14 +65,14 @@
+
+ <sstr>\' |
+ <dstr>\" { BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup(str_buffer); return STR; }
++ yylval.str = my_dup(str_buffer); return STR; }
+
+ <sstr,dstr>\\\n lineno++;
+ <sstr,dstr>\n { einfo(E_FILELINE | E_WARNING,
+ "string constant terminated by end of line");
+ lineno++;
+ BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup(str_buffer); return STR; }
++ yylval.str = my_dup(str_buffer); return STR; }
+
+ <sstr,dstr>\\[0-7]{1,3} *strp++ = (char)strtol(&yytext[1], NULL, 8);
+
+@@ -94,13 +94,13 @@
+ \< { strp = str_buffer; BEGIN(fstr); }
+
+ <fstr>\> { BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup (str_buffer); return FNAME; }
++ yylval.str = my_dup (str_buffer); return FNAME; }
+
+ <fstr>\n { einfo (E_FILELINE | E_WARNING,
+ "filename terminated by end of line");
+ lineno++;
+ BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup (str_buffer); return FNAME; }
++ yylval.str = my_dup (str_buffer); return FNAME; }
+
+ <fstr>[^\n\>]+ { strcpy (strp, yytext); strp += yyleng; }
+
+@@ -148,7 +148,7 @@
+
+ /* Other words ("identifiers", but for us they're unquoted strings): */
+
+-[A-Za-z_][A-Za-z0-9_]* { yylval.str = dup(yytext); return STR; }
++[A-Za-z_][A-Za-z0-9_]* { yylval.str = my_dup(yytext); return STR; }
+
+ /* Punctuation: */
+
+@@ -166,6 +166,6 @@
+ extern struct string_store *lexer_store;
+
+ static char *
+-dup(const char *s) {
++my_dup(const char *s) {
+ return insert_string(lexer_store, s);
+ }
diff --git a/devel/prc-tools-binutils/pkg/DESCR b/devel/prc-tools-binutils/pkg/DESCR
new file mode 100644
index 00000000000..80a1dbfdd52
--- /dev/null
+++ b/devel/prc-tools-binutils/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+This is a modified version of GNU binutils to function as part of
+the tool chain and host tools from PRC-Tools.
diff --git a/devel/prc-tools-binutils/pkg/PLIST b/devel/prc-tools-binutils/pkg/PLIST
new file mode 100644
index 00000000000..9d07937ffc3
--- /dev/null
+++ b/devel/prc-tools-binutils/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/build-prc
+bin/m68k-palmos-addr2line
+bin/m68k-palmos-ar
+bin/m68k-palmos-as
+bin/m68k-palmos-c++filt
+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
+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
+man/man1/m68k-palmos-addr2line.1
+man/man1/m68k-palmos-ar.1
+man/man1/m68k-palmos-as.1
+man/man1/m68k-palmos-c++filt.1
+man/man1/m68k-palmos-ld.1
+man/man1/m68k-palmos-nlmconv.1
+man/man1/m68k-palmos-nm.1
+man/man1/m68k-palmos-objcopy.1
+man/man1/m68k-palmos-objdump.1
+man/man1/m68k-palmos-ranlib.1
+man/man1/m68k-palmos-size.1
+man/man1/m68k-palmos-strings.1
+man/man1/m68k-palmos-strip.1
+@dirrm m68k-palmos/lib/ldscripts
+@dirrm m68k-palmos/lib
+@dirrm m68k-palmos/bin
+@dirrm m68k-palmos
diff --git a/devel/prc-tools-gcc/Makefile b/devel/prc-tools-gcc/Makefile
new file mode 100644
index 00000000000..446a70318e8
--- /dev/null
+++ b/devel/prc-tools-gcc/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-gcc-${PRC_TOOLS_VERS}
+
+BASE_DIST= gcc
+BASE_VERS= 2.95.2
+
+DEPENDS+= prc-tools-binutils>=2.0:../../devel/prc-tools-binutils
+
+COMMENT= gcc for GNU tool chain for Palm cross development
+
+ALL_TARGET= all-gcc
+INSTALL_TARGET= install-gcc
+
+post-install:
+ @${RMDIR} ${PREFIX}/m68k-palmos/include
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-gcc/distinfo b/devel/prc-tools-gcc/distinfo
new file mode 100644
index 00000000000..99f662a027c
--- /dev/null
+++ b/devel/prc-tools-gcc/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (gcc-2.95.2.tar.gz) = c3da103de3fa97c78ccc1b4fdc29fa25bf26a6c8
+Size (gcc-2.95.2.tar.gz) = 12885815 bytes
+SHA1 (patch-aa) = 8807705c956dbd349b82c5bee8ec3fe24ba5d14f
+SHA1 (patch-ab) = 5406984eaf4a3e01c7b2022981f5c41664edccf8
+SHA1 (patch-ac) = fbb14e09a02d6d78fb4893cb1c65bf9cf258bd23
diff --git a/devel/prc-tools-gcc/patches/patch-aa b/devel/prc-tools-gcc/patches/patch-aa
new file mode 100644
index 00000000000..8334f2f6e9f
--- /dev/null
+++ b/devel/prc-tools-gcc/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- gcc/gcc/Makefile.in.orig Tue Apr 24 14:07:46 2001
++++ gcc/gcc/Makefile.in
+@@ -486,7 +486,7 @@
+ CPP_INSTALL_NAME = `t='$(program_transform_name)'; echo cpp | sed -e $$t`
+ PROTOIZE_INSTALL_NAME = `t='$(program_transform_name)'; echo protoize | sed -e $$t`
+ UNPROTOIZE_INSTALL_NAME = `t='$(program_transform_name)'; echo unprotoize | sed -e $$t`
+-GCOV_INSTALL_NAME = `t='$(program_transform_name)'; echo gcov | sed -e $$t`
++GCOV_INSTALL_NAME = `t='$(program_transform_cross_name)'; echo gcov | sed -e $$t`
+
+ # Actual name to use when installing a cross-compiler.
+ GCC_CROSS_NAME = `t='$(program_transform_cross_name)'; echo gcc | sed -e $$t`
+@@ -2455,7 +2455,7 @@
+ # Install the driver last so that the window when things are
+ # broken is small.
+ install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
+- $(INSTALL_CPP) install-man install-info intl.install lang.install-normal \
++ $(INSTALL_CPP) install-man intl.install lang.install-normal \
+ install-driver
+
+ # Do nothing while making gcc with a cross-compiler. The person who
+@@ -2524,7 +2524,6 @@
+ -if [ -d $(gcc_tooldir) ] ; then true ; else mkdir $(gcc_tooldir) ; chmod a+rx $(gcc_tooldir) ; fi
+ -if [ -d $(assertdir) ] ; then true ; else mkdir $(assertdir) ; chmod a+rx $(assertdir) ; fi
+ -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; chmod a+rx $(infodir) ; fi
+- -if [ -d $(htmldir) ] ; then true ; else mkdir $(htmldir) ; chmod a+rx $(htmldir) ; fi
+ # We don't use mkdir -p to create the parents of man1dir,
+ # because some systems don't support it.
+ # Instead, we use this technique to create the immediate parent of man1dir.
+@@ -2642,8 +2641,8 @@
+ 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_DATA) $(srcdir)/cccp.1 $(man1dir)/$(CPP_CROSS_NAME)$(manext)
++ -chmod a-x $(man1dir)/$(CPP_CROSS_NAME)$(manext)
+
+ # Install the library.
+ install-libgcc: libgcc.a installdirs
diff --git a/devel/prc-tools-gcc/patches/patch-ab b/devel/prc-tools-gcc/patches/patch-ab
new file mode 100644
index 00000000000..e433a842dae
--- /dev/null
+++ b/devel/prc-tools-gcc/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- gcc/libiberty/Makefile.in.orig Tue Mar 13 01:27:24 2001
++++ gcc/libiberty/Makefile.in Tue Mar 13 01:27:51 2001
+@@ -145,7 +145,9 @@
+ $(RANLIB) $(TARGETLIB)
+
+ INSTALL_DEST = @INSTALL_DEST@
+-install: install_to_$(INSTALL_DEST) install-subdir
++#install: install_to_$(INSTALL_DEST) install-subdir
++# we don't want libiberty installed
++install:
+
+ install_to_libdir: all
+ $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n
diff --git a/devel/prc-tools-gcc/patches/patch-ac b/devel/prc-tools-gcc/patches/patch-ac
new file mode 100644
index 00000000000..bcc4a44ff97
--- /dev/null
+++ b/devel/prc-tools-gcc/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- gcc/gcc/cp/Make-lang.in.orig Tue Apr 24 13:17:32 2001
++++ gcc/gcc/cp/Make-lang.in Tue Apr 24 13:18:09 2001
+@@ -229,17 +229,6 @@
+ rm -f $(bindir)/$(CXX_INSTALL_NAME)$(exeext); \
+ $(LN) $(bindir)/$(GXX_INSTALL_NAME)$(exeext) $(bindir)/$(CXX_INSTALL_NAME)$(exeext); \
+ fi ; \
+- if [ x$(DEMANGLER_PROG) != x ] && [ -x "$(DEMANGLER_PROG)" ]; then \
+- if [ -f g++-cross$(exeext) ] ; then \
+- rm -f $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) $(DEMANGLER_PROG) $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext); \
+- chmod a+x $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext); \
+- else \
+- rm -f $(bindir)/$(DEMANGLER_INSTALL_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) $(DEMANGLER_PROG) $(bindir)/$(DEMANGLER_INSTALL_NAME)$(exeext); \
+- chmod a+x $(bindir)/$(DEMANGLER_INSTALL_NAME)$(exeext); \
+- fi ; \
+- fi ; \
+ fi
+
+ c++.install-info:
diff --git a/devel/prc-tools-gcc/pkg/DESCR b/devel/prc-tools-gcc/pkg/DESCR
new file mode 100644
index 00000000000..0fd15afc557
--- /dev/null
+++ b/devel/prc-tools-gcc/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+This is a modified version of GNU gcc to function as part of
+the tool chain.
diff --git a/devel/prc-tools-gcc/pkg/PLIST b/devel/prc-tools-gcc/pkg/PLIST
new file mode 100644
index 00000000000..3730b055fc7
--- /dev/null
+++ b/devel/prc-tools-gcc/pkg/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/m68k-palmos-c++
+bin/m68k-palmos-cpp
+bin/m68k-palmos-g++
+bin/m68k-palmos-gcc
+bin/m68k-palmos-gcov
+bin/m68k-palmos-protoize
+bin/m68k-palmos-unprotoize
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/SYSCALLS.c.X
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cc1
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cc1plus
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/collect2
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cpp
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/README
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/exception
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/fixed
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/float.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/iso646.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/limits.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/math-68881.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/new
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/new.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/proto.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stdarg.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stdbool.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stddef.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/syslimits.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/typeinfo
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-alpha.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-arc.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-c4x.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-clipper.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-h8300.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-i860.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-i960.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-m32r.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-m88k.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mips.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mn10200.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mn10300.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-pa.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-ppc.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-pyr.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-sh.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-sparc.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-spur.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-v850.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/varargs.h
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/libgcc.a
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/pilot.ld
+lib/gcc-lib/m68k-palmos/2.95.2-kgpd/specs
+m68k-palmos/bin/gcc
+man/man1/m68k-palmos-cpp.1
+man/man1/m68k-palmos-g++.1
+man/man1/m68k-palmos-gcc.1
+@dirrm lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include
+@dirrm lib/gcc-lib/m68k-palmos/2.95.2-kgpd
+@dirrm lib/gcc-lib/m68k-palmos
+@dirrm lib/gcc-lib
diff --git a/devel/prc-tools-gdb/Makefile b/devel/prc-tools-gdb/Makefile
new file mode 100644
index 00000000000..c709f2b2d48
--- /dev/null
+++ b/devel/prc-tools-gdb/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-gdb-${PRC_TOOLS_VERS}
+
+COMMENT= gdb for GNU tool chain for Palm cross development
+
+BASE_DIST= gdb
+BASE_VERS= 4.18
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb/gdb ${PREFIX}/bin/m68k-palmos-gdb
+ ${INSTALL_MAN} ${WRKSRC}/gdb/gdb/gdb.1 \
+ ${PREFIX}/man/man1/m68k-palmos-gdb.1
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-gdb/distinfo b/devel/prc-tools-gdb/distinfo
new file mode 100644
index 00000000000..f0bf91bdd81
--- /dev/null
+++ b/devel/prc-tools-gdb/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (gdb-4.18.tar.gz) = 4b8abe282a62e581ceb95dd8bf5e467a4521d971
+Size (gdb-4.18.tar.gz) = 11657032 bytes
+SHA1 (patch-aa) = 27f6f02ec03a3e2aecc30ef76a42d39c90a6390a
+SHA1 (patch-ab) = 2844cd6dee39de72df6d49f326c98e7201f5405d
diff --git a/devel/prc-tools-gdb/files/md5 b/devel/prc-tools-gdb/files/md5
new file mode 100644
index 00000000000..b6d9e625786
--- /dev/null
+++ b/devel/prc-tools-gdb/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+SHA1 (gdb-4.18.tar.gz) = 4b8abe282a62e581ceb95dd8bf5e467a4521d971
diff --git a/devel/prc-tools-gdb/files/patch-sum b/devel/prc-tools-gdb/files/patch-sum
new file mode 100644
index 00000000000..87a150cec15
--- /dev/null
+++ b/devel/prc-tools-gdb/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (patch-aa) = 27f6f02ec03a3e2aecc30ef76a42d39c90a6390a
diff --git a/devel/prc-tools-gdb/patches/patch-aa b/devel/prc-tools-gdb/patches/patch-aa
new file mode 100644
index 00000000000..346e72a2fbd
--- /dev/null
+++ b/devel/prc-tools-gdb/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- Makefile.in.orig Mon Feb 7 20:37:04 2000
++++ Makefile.in Fri Jan 19 06:54:08 2001
+@@ -21,6 +21,8 @@
+ host_subdirs = $(configured_subdirs) doc tools
+ target_subdirs = crt libc libm
+
++all: all-gdb
++
+ # This target will only work if you are willing to do all your building as
+ # a user who can write to your install directory, i.e., if you build as root
+ # or if you're on an unprotected file system like Windows.
+@@ -34,6 +37,11 @@
+ if (cd $${dir} && $(MAKE) all info); then true; else exit 1; fi; \
+ fi; \
+ done
++
++all-gdb:
++ if [ -f ./gdb/Makefile ]; then \
++ if (cd gdb && $(MAKE)); then true; else exit 1; fi; \
++ fi
+
+ all-gcc:
+ if [ -f ./gcc/Makefile ]; then \
diff --git a/devel/prc-tools-gdb/patches/patch-ab b/devel/prc-tools-gdb/patches/patch-ab
new file mode 100644
index 00000000000..940e89acb9b
--- /dev/null
+++ b/devel/prc-tools-gdb/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- gdb/gdb/configure.orig Tue Apr 24 15:23:51 2001
++++ gdb/gdb/configure Tue Apr 24 15:23:59 2001
+@@ -3132,7 +3132,7 @@
+ memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
+ string.h sys/procfs.h sys/ptrace.h sys/reg.h \
+ term.h termio.h termios.h unistd.h wait.h sys/wait.h \
+- wchar.h wctype.h asm/debugreg.h sys/debugreg.h
++ wchar.h asm/debugreg.h sys/debugreg.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/devel/prc-tools-gdb/pkg/DESCR b/devel/prc-tools-gdb/pkg/DESCR
new file mode 100644
index 00000000000..29f639f36bf
--- /dev/null
+++ b/devel/prc-tools-gdb/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+This is a modified version of GNU gdb to function as part of
+the tool chain.
diff --git a/devel/prc-tools-gdb/pkg/PLIST b/devel/prc-tools-gdb/pkg/PLIST
new file mode 100644
index 00000000000..a598fe17b4f
--- /dev/null
+++ b/devel/prc-tools-gdb/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/m68k-palmos-gdb
+man/man1/m68k-palmos-gdb.1
diff --git a/devel/prc-tools/Makefile b/devel/prc-tools/Makefile
new file mode 100644
index 00000000000..4d3c6fcbfcf
--- /dev/null
+++ b/devel/prc-tools/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+COMMENT= GNU tool chain for Palm cross development
+
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+DEPENDS+= prc-tools-base>=2.0:../../devel/prc-tools-base
+DEPENDS+= prc-tools-gdb>=2.0:../../devel/prc-tools-gdb
+DEPENDS+= pilrc>=2.7b:../../devel/pilrc
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= yes
+NO_PATCH= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+do-install: # empty
+
+.include "Makefile.common"
diff --git a/devel/prc-tools/Makefile.common b/devel/prc-tools/Makefile.common
new file mode 100644
index 00000000000..7d4453bf505
--- /dev/null
+++ b/devel/prc-tools/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+DISTNAME= prc-tools-${PRC_TOOLS_VERS}
+PRC_TOOLS_VERS= 2.0
+CATEGORIES= devel
+MASTER_SITES= http://www.palmos.com/dev/tech/tools/gcc/dist/
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.palmos.com/dev/tech/tools/gcc/
+
+#DIST_SUBDIR= prc-tools
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--target=m68k-palmos --enable-languages=c,c++ \
+ --sharedstatedir=${PREFIX}/share/palmdev
+#--with-headers=${WRKSRC}/empty \
+
+USE_GMAKE= YES
+
+.if defined(BASE_DIST)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${BASE_DIST}-${BASE_VERS}${EXTRACT_SUFX}
+DIFF_FILE= ${BASE_DIST}-${BASE_VERS}.palmos.diff
+
+post-extract:
+ cd ${WRKDIR} && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIFF_FILE}
+ ${LN} -s ../${BASE_DIST}-${BASE_VERS} ${WRKSRC}/${BASE_DIST}
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/prc-tools/pkg/DESCR b/devel/prc-tools/pkg/DESCR
new file mode 100644
index 00000000000..d5ab53b7b50
--- /dev/null
+++ b/devel/prc-tools/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++. It is free software. The PRC-Tools
+package includes patched versions of the GNU packages GCC, binutils,
+and gdb, along with various post-linker tools to produce Palm OS .PRC
+files.
diff --git a/devel/prc-tools/pkg/PLIST b/devel/prc-tools/pkg/PLIST
new file mode 100644
index 00000000000..2e2f65db8c3
--- /dev/null
+++ b/devel/prc-tools/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+@comment this plist intentionally left empty