summaryrefslogtreecommitdiff
path: root/devel/prc-tools
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/prc-tools
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/prc-tools')
-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
4 files changed, 59 insertions, 0 deletions
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