aboutsummaryrefslogtreecommitdiffstats
path: root/palm/prc-tools-gcc/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2000-03-31 12:08:41 +0800
committerkuriyama <kuriyama@FreeBSD.org>2000-03-31 12:08:41 +0800
commitc4dae9710ba89febd615b52ee1e2558e1b214bc5 (patch)
treeb6c21666b5054fa091edcc797d606a87448c8f04 /palm/prc-tools-gcc/Makefile
parent8c0758cad31058f5ca264fd21d309f11389365ac (diff)
downloadfreebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.tar.gz
freebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.tar.zst
freebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.zip
PRC-tools for Palm OS (gcc part).
Diffstat (limited to 'palm/prc-tools-gcc/Makefile')
-rw-r--r--palm/prc-tools-gcc/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/palm/prc-tools-gcc/Makefile b/palm/prc-tools-gcc/Makefile
new file mode 100644
index 00000000000..bf96dac980b
--- /dev/null
+++ b/palm/prc-tools-gcc/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Palm OS PRC-Tools (gcc 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-gcc-2.0
+CATEGORIES= palm
+MASTER_SITES= http://www.palm.com/devzone/tools/gcc/dist/ \
+ ${MASTER_SITE_GNU}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ gdb/gdb-4.18.tar.gz gcc/gcc-2.95.2.tar.gz
+
+MAINTAINER= kuriyama@FreeBSD.org
+
+BUILD_DEPENDS= ${PREFIX}/bin/m68k-palmos-as:${PORTSDIR}/palm/prc-tools-binutils
+
+USE_BISON= YES
+USE_GMAKE= YES
+PREFIX= ${LOCALBASE}/pilot
+WRKSRC= ${WRKDIR}/build
+ALL_TARGET= all-gcc
+INSTALL_TARGET= install-gcc
+HAS_CONFIGURE= YES
+CONFIGURE_SCRIPT= ../prc-tools-2.0/configure
+CONFIGURE_ARGS= --target=m68k-palmos --enable-languages=c,c++ \
+ --sharedstatedir=${LOCALBASE}/palmdev --prefix=${PREFIX}
+CONFIGURE_ENV= PATH=${PATH}:${PREFIX}/bin
+MAKE_ENV= PATH=${PATH}:${PREFIX}/bin
+MAN1= cccp.1 m68k-palmos-g++.1 m68k-palmos-gcc.1
+
+.include <bsd.port.pre.mk>
+
+CFLAGS:= ${CFLAGS:S/-m486//g}
+
+pre-patch:
+ ${MKDIR} ${WRKSRC}/empty
+ (cd ${WRKDIR} && \
+ ${CAT} prc-tools-2.0/gcc-2.95.2.palmos.diff \
+ prc-tools-2.0/gdb-4.18.palmos.diff | ${PATCH} -p0)
+
+pre-configure:
+ (cd ${WRKDIR}/prc-tools-2.0 && \
+ ${LN} -sf ../gdb-4.18 gdb; \
+ ${LN} -sf ../gcc-2.95.2 gcc)
+
+.include <bsd.port.post.mk>