# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD: tags/RELEASE_10_0_0/devel/psptoolchain-pspsdk-stage2/Makefile 327724 2013-09-20 17:13:42Z bapt $

PKGNAMESUFFIX=		-stage2

MAINTAINER=		tphilipp@potion-studios.com
COMMENT=		PlayStation Portable development toolchain ${PORTNAME}

BUILD_DEPENDS=		psp-cpp:${PORTSDIR}/devel/psptoolchain-gcc-stage2 \
			psp-gcc:${PORTSDIR}/devel/psptoolchain-gcc-stage2 \
			psp-gcov:${PORTSDIR}/devel/psptoolchain-gcc-stage2 \
			psp-g++:${PORTSDIR}/devel/psptoolchain-gcc-stage2 \
			psp-ar:${PORTSDIR}/devel/psptoolchain-binutils \
			${LOCALBASE}/psp/lib/libc.a:${PORTSDIR}/devel/psptoolchain-newlib

CONFIGURE_ARGS=		--prefix=${PREFIX} --with-pspdev="${LOCALBASE}"

PLIST=			${.CURDIR}/pkg-plist
MASTERDIR=		${.CURDIR}/../psptoolchain-pspsdk-stage1

NO_STAGE=	yes
.include "${MASTERDIR}/Makefile"
