1997-11-24 09:03:50 +00:00
|
|
|
# New ports collection makefile for: prc-tools
|
|
|
|
# Version required: 0.5.0
|
|
|
|
# Date created: November, 1997
|
|
|
|
# Whom: Paul Traina <pst@freebsd.org>
|
|
|
|
#
|
1998-01-01 17:29:11 +00:00
|
|
|
# $Id: Makefile,v 1.5 1997/11/25 09:18:12 pst Exp $
|
1997-11-24 09:03:50 +00:00
|
|
|
#
|
|
|
|
# *WARNING* write access to ${PREFIX} is required DURING build because the
|
|
|
|
# make "all" target actually installs the gnu tools before building the
|
|
|
|
# pilot resources
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= prc-tools.0.5.0
|
|
|
|
PKGNAME= prc-tools-0.5.0
|
1998-01-01 17:29:11 +00:00
|
|
|
CATEGORIES= devel pilot
|
1997-11-24 09:03:50 +00:00
|
|
|
MASTER_SITES= ftp://ryeham.ee.ryerson.ca/pub/PalmOS/ \
|
|
|
|
${MASTER_SITE_GNU}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
binutils-2.7.tar.gz gdb-4.16.tar.gz gcc-2.7.2.2.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
|
|
|
1997-11-25 09:18:12 +00:00
|
|
|
# install things in ${LOCALBASE}/pilot to avoid conflicts
|
1997-11-25 08:36:16 +00:00
|
|
|
PREFIX= ${LOCALBASE}/pilot
|
1997-11-24 09:03:50 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
|
|
|
1997-11-25 09:18:12 +00:00
|
|
|
# argh... mtree happens before we can mkdir ${PREFIX} ! :-(
|
|
|
|
NO_MTREE= yes
|
|
|
|
|
1997-11-24 09:03:50 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
ALL_TARGET= gnutools all
|
|
|
|
MAN1= build-prc.1 cccp.1 configure.1 \
|
|
|
|
obj-res.1 pilrc.1 txt2bitm.1 \
|
|
|
|
m68k-palmos-coff-ar.1 \
|
|
|
|
m68k-palmos-coff-as.1 \
|
|
|
|
m68k-palmos-coff-c++filt.1 \
|
|
|
|
m68k-palmos-coff-gcc.1 \
|
|
|
|
m68k-palmos-coff-gdb.1 \
|
|
|
|
m68k-palmos-coff-ld.1 \
|
|
|
|
m68k-palmos-coff-nlmconv.1 \
|
|
|
|
m68k-palmos-coff-nm.1 \
|
|
|
|
m68k-palmos-coff-objcopy.1 \
|
|
|
|
m68k-palmos-coff-objdump.1 \
|
|
|
|
m68k-palmos-coff-ranlib.1 \
|
|
|
|
m68k-palmos-coff-size.1 \
|
|
|
|
m68k-palmos-coff-strings.1 \
|
|
|
|
m68k-palmos-coff-strip.1
|
1997-11-24 09:43:42 +00:00
|
|
|
STRIP= build-prc \
|
|
|
|
m68k-palmos-coff-ar \
|
|
|
|
m68k-palmos-coff-as \
|
|
|
|
m68k-palmos-coff-c++filt \
|
|
|
|
m68k-palmos-coff-gasp \
|
|
|
|
m68k-palmos-coff-gcc \
|
|
|
|
m68k-palmos-coff-gdb \
|
|
|
|
m68k-palmos-coff-ld \
|
|
|
|
m68k-palmos-coff-nm \
|
|
|
|
m68k-palmos-coff-obj-res \
|
|
|
|
m68k-palmos-coff-objcopy \
|
|
|
|
m68k-palmos-coff-objdump \
|
|
|
|
m68k-palmos-coff-ranlib \
|
|
|
|
m68k-palmos-coff-size \
|
|
|
|
m68k-palmos-coff-strings \
|
|
|
|
m68k-palmos-coff-strip \
|
|
|
|
pilrc \
|
|
|
|
txt2bitm
|
|
|
|
|
1997-11-24 09:03:50 +00:00
|
|
|
# after we apply freebsd patches, apply prc-tool's patches to gcc/gdb/...
|
|
|
|
post-patch:
|
|
|
|
(cd ${WRKSRC} ; make patch)
|
|
|
|
|
1997-11-25 09:18:12 +00:00
|
|
|
pre-install:
|
|
|
|
-test -d ${PREFIX} || mkdir ${PREFIX}
|
|
|
|
|
1997-11-24 09:03:50 +00:00
|
|
|
# the info files are redundant
|
|
|
|
post-install:
|
|
|
|
${RM} -rf ${PREFIX}/info
|
1997-11-24 09:43:42 +00:00
|
|
|
(cd ${PREFIX}/bin; strip ${STRIP})
|
1997-11-24 09:03:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|