ports/132325: New port: devel/psptoolchain
Tassilo Philipp
tphilipp at potion-studios.com
Thu Mar 5 10:10:04 UTC 2009
>Number: 132325
>Category: ports
>Synopsis: New port: devel/psptoolchain
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 05 10:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Tassilo Philipp
>Release: FreeBSD 7.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD amphore.potion-studios.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Aug 20 20:52:41 CEST 2008 tphilipp at amphore.potion-studios.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
>How-To-Repeat:
>Fix:
--- psptoolchain.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# psptoolchain
# psptoolchain/pkg-descr
# psptoolchain/Makefile
# psptoolchain/files
# psptoolchain/files/patch-scripts-002-gcc-4.1.0-stage1.sh
# psptoolchain/files/patch-scripts-001-binutils-2.16.1.sh
# psptoolchain/files/patch-scripts-003-pspsdk-stage1.sh
# psptoolchain/files/patch-scripts-004-newlib-1.15.0.sh
# psptoolchain/files/patch-scripts-005-gcc-4.1.0-stage2.sh
# psptoolchain/files/patch-scripts-006-pspsdk-stage2.sh
# psptoolchain/files/patch-scripts-007-gdb-6.4.sh
# psptoolchain/files/patch-scripts-008-insight-6.4.sh
# psptoolchain/files/patch-depends-check-make.sh
# psptoolchain/files/patch-toolchain.sh
#
echo c - psptoolchain
mkdir -p psptoolchain > /dev/null 2>&1
echo x - psptoolchain/pkg-descr
sed 's/^X//' >psptoolchain/pkg-descr << 'END-of-psptoolchain/pkg-descr'
XThe PlayStation Portable Toolchain is a collection of tools and utilities
Xfor homebrew PSP development.
X
XWWW: http://www.ps2dev.org
END-of-psptoolchain/pkg-descr
echo x - psptoolchain/Makefile
sed 's/^X//' >psptoolchain/Makefile << 'END-of-psptoolchain/Makefile'
X# New ports collection makefile for: psptoolchain
X# Date created: 26 February 2009
X# Whom: Tassilo Philipp <tphilipp at potion-studios.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= psptoolchain
XPORTVERSION= 20090127
XCATEGORIES= devel
XMASTER_SITES= # none
XDISTFILES= # none
X
XMAINTAINER= tphilipp at potion-studios.com
XCOMMENT= PlayStation Portable development toolchain meta port
X
XRUN_DEPENDS= psp-gdb:${PORTSDIR}/devel/psptoolchain-gdb
X
XNO_BUILD= yes
XNO_FETCH= yes
XUSE_MAKEFILE= no
X
X.include <bsd.port.mk>
END-of-psptoolchain/Makefile
echo c - psptoolchain/files
mkdir -p psptoolchain/files > /dev/null 2>&1
echo x - psptoolchain/files/patch-scripts-002-gcc-4.1.0-stage1.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-002-gcc-4.1.0-stage1.sh << 'END-of-psptoolchain/files/patch-scripts-002-gcc-4.1.0-stage1.sh'
X--- scripts/002-gcc-4.1.0-stage1.sh.orig 2008-05-22 20:02:06.000000000 +0200
X+++ scripts/002-gcc-4.1.0-stage1.sh 2008-05-22 20:09:23.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" --enable-languages="c" --with-newlib --without-headers --disable-libssp || { exit 1; }
X
X ## Compile and install.
X- make clean && make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-002-gcc-4.1.0-stage1.sh
echo x - psptoolchain/files/patch-scripts-001-binutils-2.16.1.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-001-binutils-2.16.1.sh << 'END-of-psptoolchain/files/patch-scripts-001-binutils-2.16.1.sh'
X--- scripts/001-binutils-2.16.1.sh.orig 2008-05-22 20:02:53.000000000 +0200
X+++ scripts/001-binutils-2.16.1.sh 2008-05-22 20:09:05.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" --enable-install-libbfd || { exit 1; }
X
X ## Compile and install.
X- make clean && make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-001-binutils-2.16.1.sh
echo x - psptoolchain/files/patch-scripts-003-pspsdk-stage1.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-003-pspsdk-stage1.sh << 'END-of-psptoolchain/files/patch-scripts-003-pspsdk-stage1.sh'
X--- scripts/003-pspsdk-stage1.sh.orig 2008-05-22 20:03:05.000000000 +0200
X+++ scripts/003-pspsdk-stage1.sh 2008-05-22 20:10:02.000000000 +0200
X@@ -16,4 +16,4 @@
X ./configure --with-pspdev="$PSPDEV" || { exit 1; }
X
X ## Build and install.
X- make clean && make install-data && make clean || { exit 1; }
X+ gmake clean && gmake install-data && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-003-pspsdk-stage1.sh
echo x - psptoolchain/files/patch-scripts-004-newlib-1.15.0.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-004-newlib-1.15.0.sh << 'END-of-psptoolchain/files/patch-scripts-004-newlib-1.15.0.sh'
X--- scripts/004-newlib-1.15.0.sh.orig 2008-05-22 20:03:17.000000000 +0200
X+++ scripts/004-newlib-1.15.0.sh 2008-05-22 20:10:18.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" || { exit 1; }
X
X ## Compile and install.
X- make clean && make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-004-newlib-1.15.0.sh
echo x - psptoolchain/files/patch-scripts-005-gcc-4.1.0-stage2.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-005-gcc-4.1.0-stage2.sh << 'END-of-psptoolchain/files/patch-scripts-005-gcc-4.1.0-stage2.sh'
X--- scripts/005-gcc-4.1.0-stage2.sh.orig 2008-05-22 20:03:25.000000000 +0200
X+++ scripts/005-gcc-4.1.0-stage2.sh 2008-05-22 20:10:48.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" --enable-languages="c,c++" --with-newlib --enable-cxx-flags="-G0" || { exit 1; }
X
X ## Compile and install.
X- make clean && CFLAGS_FOR_TARGET="-G0" make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && CFLAGS_FOR_TARGET="-G0" gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-005-gcc-4.1.0-stage2.sh
echo x - psptoolchain/files/patch-scripts-006-pspsdk-stage2.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-006-pspsdk-stage2.sh << 'END-of-psptoolchain/files/patch-scripts-006-pspsdk-stage2.sh'
X--- scripts/006-pspsdk-stage2.sh.orig 2008-05-22 20:03:31.000000000 +0200
X+++ scripts/006-pspsdk-stage2.sh 2008-05-22 20:11:13.000000000 +0200
X@@ -16,4 +16,4 @@
X ./configure --with-pspdev="$PSPDEV" || { exit 1; }
X
X ## Build and install.
X- make clean && make && make install && make clean || { exit 1; }
X+ gmake clean && gmake && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-006-pspsdk-stage2.sh
echo x - psptoolchain/files/patch-scripts-007-gdb-6.4.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-007-gdb-6.4.sh << 'END-of-psptoolchain/files/patch-scripts-007-gdb-6.4.sh'
X--- scripts/007-gdb-6.4.sh.orig 2008-05-22 20:03:38.000000000 +0200
X+++ scripts/007-gdb-6.4.sh 2008-05-22 20:11:29.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" --disable-nls || { exit 1; }
X
X ## Compile and install.
X- make clean && make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-007-gdb-6.4.sh
echo x - psptoolchain/files/patch-scripts-008-insight-6.4.sh
sed 's/^X//' >psptoolchain/files/patch-scripts-008-insight-6.4.sh << 'END-of-psptoolchain/files/patch-scripts-008-insight-6.4.sh'
X--- scripts/008-insight-6.4.sh.orig 2008-05-22 20:03:59.000000000 +0200
X+++ scripts/008-insight-6.4.sh 2008-05-22 20:12:08.000000000 +0200
X@@ -17,4 +17,4 @@
X ../configure --prefix="$PSPDEV" --target="psp" --disable-nls || { exit 1; }
X
X ## Compile and install.
X- make clean && make -j 2 && make install && make clean || { exit 1; }
X+ gmake clean && gmake -j 2 && gmake install && gmake clean || { exit 1; }
END-of-psptoolchain/files/patch-scripts-008-insight-6.4.sh
echo x - psptoolchain/files/patch-depends-check-make.sh
sed 's/^X//' >psptoolchain/files/patch-depends-check-make.sh << 'END-of-psptoolchain/files/patch-depends-check-make.sh'
X--- depends/check-make.sh.orig 2008-05-22 19:15:12.000000000 +0200
X+++ depends/check-make.sh 2008-05-22 19:15:28.000000000 +0200
X@@ -1,5 +1,5 @@
X #!/bin/sh
X # check-make.sh by Dan Peori (danpeori at oopo.net)
X
X- ## Check for make.
X- make -v 1> /dev/null || { echo "ERROR: Install make before continuing."; exit 1; }
X+ ## Check for GNU make.
X+ gmake -v 1> /dev/null || { echo "ERROR: Install make before continuing."; exit 1; }
END-of-psptoolchain/files/patch-depends-check-make.sh
echo x - psptoolchain/files/patch-toolchain.sh
sed 's/^X//' >psptoolchain/files/patch-toolchain.sh << 'END-of-psptoolchain/files/patch-toolchain.sh'
X--- toolchain.sh.orig 2008-05-22 19:10:18.000000000 +0200
X+++ toolchain.sh 2008-05-22 19:10:31.000000000 +0200
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/usr/local/bin/bash
X # toolchain.sh by Dan Peori (danpeori at oopo.net)
X
X ## Enter the psptoolchain directory.
END-of-psptoolchain/files/patch-toolchain.sh
exit
--- psptoolchain.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list