head	1.11;
access;
symbols
	RELEASE_8_3_0:1.2;
locks; strict;
comment	@# @;


1.11
date	2013.01.16.20.24.42;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.12.10.13.24.59;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.10.12.01.04.30;	author jhale;	state Exp;
branches;
next	1.7;

1.7
date	2012.07.18.19.36.31;	author mva;	state Exp;
branches;
next	1.6;

1.6
date	2012.07.17.19.08.21;	author mva;	state Exp;
branches;
next	1.5;

1.5
date	2012.07.04.21.41.20;	author pawel;	state Exp;
branches;
next	1.4;

1.4
date	2012.06.29.23.06.06;	author scheidell;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.31.18.41.26;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2012.02.19.10.37.02;	author lwhsu;	state Exp;
branches;
next	1.1;

1.1
date	2011.12.13.15.37.36;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310522
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: David Naylor <naylor.b.david@@gmail.com>
# $FreeBSD: head/lang/pypy/Makefile 310522 2013-01-16 20:15:07Z dbn $

PORTNAME=	pypy
DISTVERSION=	1.9
PORTREVISION=	2
CATEGORIES=	lang python java
MASTER_SITES=	https://bitbucket.org/pypy/pypy/get/
DISTNAME=	release-${DISTVERSION}
DIST_SUBDIR=	pypy

MAINTAINER=	dbn@@FreeBSD.org
COMMENT=	PyPy is a fast, compliant implementation of the Python language

LICENSE=	MIT PSFL
LICENSE_COMB=	multi

LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2 \
		ffi:${PORTSDIR}/devel/libffi

OPTIONS_DEFINE=	SANDBOX
SANDBOX_DESC=	Translate a sandboxed pypy

BUILD_WRKSRC=	${WRKDIR}
USE_BZIP2=	yes
USE_ICONV=	yes
USE_GETTEXT=	yes
PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
WRKSRC=		${WRKDIR}/pypy-pypy-341e1e3821ff

PYPY_VER=	${DISTVERSION}
PYTHON_IMPL_VER=	2.7
PYPY_LIBDIR=	lib/pypy${PYPY_VER}
PYPY_INCLUDEDIR=	include/pypy${PYPY_VER}
PYPYDIRS=	${PYPY_INCLUDEDIR} ${PYPY_LIBDIR}

PLIST_SUB+=	PYPY_LIBDIR=${PYPY_LIBDIR} \
		PYPY_INCLUDEDIR=${PYPY_INCLUDEDIR}

MAKE_ENV+=	PYPY_LOCALBASE=${LOCALBASE}
.if exists(/usr/bin/clang)
MAKE_ARGS+=	CC=clang
MAKE_JOBS_SAFE=	yes
.endif

# XXX !.include <bsd.port.pre.mk> as USE_* need to be set prior
.include <bsd.port.options.mk>
.include "${.CURDIR}/files/bsd.pypy.inst.mk"

.if defined(PACKAGE_BUILDING)
MANUAL_PACKAGE_BUILD=	fails to finish compilation on pointyhat, reason unknown
.endif

# List of PyPy instances
.if !defined(PYPY_INST)
PYPY_INST=	DEFAULT

.if ${PORT_OPTIONS:MSANDBOX}
PYPY_INST+=	SANDBOX
.endif

.endif # !defined(PYPY_INST)

PYPY_NAMES=
.for inst in ${PYPY_INST}

PYPY_NAMES+=	${PYPY_${inst}_NAME}
PYPY_PRIMARY?=	${PYPY_${inst}_NAME}

# Check if the boehm GC will be used
.if ${PYPY_${inst}_OPT} == 0 || ${PYPY_${inst}_OPT} == 1 || ${PYPY_${inst}_OPT} == size
WITH_BOEHM_GC=	yes
.endif

# Check if the CLI (mono) backend will be used
.if !empty(PYPY_${inst}_TRANSLATE_ARGS:M--backend=cli)
WITH_CLI=	yes
.endif

# Check if the JVM (java) backend will be used
.if !empty(PYPY_${inst}_TRANSLATE_ARGS:M--backend=jvm)
WITH_JVM=	yes
.endif

.endfor # inst in ${PYPY_INST}

# Use pypy if it is installed, else use python (to translate)
.if !defined(PY)
.if !defined(PYPY)
.if ${PYPY_PRIMARY} == pypy
PYPY!=		${WHICH} ${PYPY_PRIMARY} 2> /dev/null || true
.else
PYPY!=		${WHICH} ${PYPY_PRIMARY} 2> /dev/null || ${WHICH} pypy 2> /dev/null || true
.endif
.endif # !defined(PYPY)

.if exists(${PYPY})
PY=		${PYPY}
.else
USE_PYTHON_BUILD=	2.5+
PY=		${PYTHON_CMD}
.endif
.endif # !defined(PY)

.if defined(WITH_BOEHM_GC)
LIB_DEPENDS+=	gc.1:${PORTSDIR}/devel/boehm-gc
.endif

.if defined(WITH_CLI)
BUILD_DEPENDS+=	mono:${PORTSDIR}/lang/mono
RUN_DEPENDS+=	mono:${PORTSDIR}/lang/mono
ONLY_FOR_ARCHS=	i386 powerpc
ONLY_FOR_ARCHS_REASON=	only translates on 32bit systems
BROKEN=		CLI backend broken, unsupported upstream
.endif

.if defined(WITH_JVM)
USE_JAVA=	yes
JAVA_VERSION=	1.6+
ONLY_FOR_ARCHS=	i386 powerpc
ONLY_FOR_ARCHS_REASON=	only translates on 32bit systems
BROKEN=		JVM backend broken, partially supported upstream
.endif

# Translate FreeBSD ARCH types to PyPy ARCH types
# Pypy officially only supports i386 and amd64, the other platforms are
# untested (and do not have jit support).
.if ${ARCH} == "i386"
PYPY_ARCH=	x86_32
PYPY_JITTABLE=	YES
.elif ${ARCH} == "amd64"
PYPY_ARCH=	x86_64
PYPY_JITTABLE=	YES
.elif ${ARCH} == "powerpc"
PYPY_ARCH=	ppc_32
.elif ${ARCH} == "powerpc64"
PYPY_ARCH=	ppc_64
.else
PYPY_ARCH=	${ARCH}
.endif
PLIST_SUB+=	PYPY_ARCH="${PYPY_ARCH}"

.if !defined(PYPY_JITTABLE)
.for inst in ${PYPY_INST}
.if ${PYPY_${inst}_OPT} == jit
PYPY_${inst}_OPT=	2
.endif
.endfor # inst in ${PYPY_INST}
.endif # !defined(PYPY_JITTABLE)

pre-fetch:
	@@${ECHO} "PyPy requires a large amount of free RAM and time to translate and compile."
	@@${ECHO}
	@@${ECHO} "To translate, PyPy requires on 32bit 3G (min 2G) free RAM and on 64bit"
	@@${ECHO} "6G (min 4G) free RAM.  Also, to compile, PyPy on amd64 gcc requires an"
	@@${ECHO} "extra 4G however clang only requires 400M (CC=clang) but clang is slower"
	@@${ECHO} "in compiling PyPy."
	@@${ECHO}
	@@${ECHO} "If memory is in short supply consider using a lower optimisation level"
	@@${ECHO} "(e.g. PYPY_DEFAULT_OPT=2) however that makes PyPy much slower.  Also,"
	@@${ECHO} "consider forcing the build to use python (-DPYPY) however that makes the"
	@@${ECHO} "build much slower."
	@@${ECHO}
	@@${ECHO} "PyPy supports a large number of parameters and customisations.  This port"
	@@${ECHO} "supports building multiple instances of PyPy, for example:"
	@@${ECHO} "PYPY_INST=	SANDBOX CUSTOM"
	@@${ECHO} "PYPY_CUSTOM_NAME=		pypy-custom"
	@@${ECHO} "PYPY_CUSTOM_TRANSLATE_ARGS=	--gcrootfinder=shadowstack --gc=generation"
	@@${ECHO} "PYPY_CUSTOM_OPT=		0"
	@@${ECHO} "PYPY_CUSTOM_OBJSPACE_ARGS=	--no-objspace-usepycfiles --objspace=thunk"
	@@${ECHO} "will produce two binaries named 'pypy-sandbox' (SANDBOX instance) and"
	@@${ECHO} "'pypy-custom' (CUSTOM instance)."
	@@${ECHO} "See for a list of parameters:"
	@@${ECHO} "	http://readthedocs.org/docs/pypy/latest/config/index.html"
	@@${ECHO} "See for predefined instances:"
	@@${ECHO} "	${.CURDIR}/files/bsd.pypy.inst.mk"
	@@${ECHO}
	@@${ECHO} "On a fast machine PyPy takes around 45 minutes to translate and compile,"
	@@${ECHO} "however an average machine takes in excess of 4 hours, per instance."
.if !defined(PYPY_IGNORE_MEM) && (${PYPY_ARCH} == "x86_32" || ${PYPY_ARCH} == "ppc_32")
	@@if [ $$((`sysctl -n hw.physmem` / 1024 / 1024)) -le 2000 ]; then \
		${ECHO}; \
		${ECHO} "err: this system has insufficient memory, expected at least 2G RAM",; \
		${ECHO} "err: to overwrite this error define -DPYPY_IGNORE_MEM and try again"; \
		exit 1; \
	fi
.elif !defined(PYPY_IGNORE_MEM)
	@@if [ $$((`sysctl -n hw.physmem` / 1024 / 1024)) -le 4000 ]; then \
		${ECHO}; \
		${ECHO} "err: this system has insufficient memory, expected at least 4G RAM",; \
		${ECHO} "err: to overwrite this error define -DPYPY_IGNORE_MEM and try again"; \
		exit 1; \
	fi
.endif
	@@sleep 1

post-extract:
	${MKDIR} ${WRKSRC}/lib
	${MV} ${WRKSRC}/lib-python/${PYTHON_IMPL_VER} ${WRKSRC}/${PYPY_LIBDIR}
	${MV} ${WRKSRC}/lib_pypy ${WRKSRC}/${PYPY_LIBDIR}/

post-patch:
	${FIND} ${WRKSRC}/lib -name '*.orig' -delete

do-configure:
	${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
		-e 's|%%PYPY_NAMES%%|${PYPY_NAMES}|g' \
		-e 's|%%PYPY_VER%%|${PYPY_VER}|g' \
		${FILESDIR}/use.pypy > ${WRKDIR}/use.pypy
	${CP} ${WRKDIR}/use.pypy ${PKGINSTALL}
	${CP} ${WRKDIR}/use.pypy ${PKGDEINSTALL}
	${ECHO} "all: ${PYPY_NAMES}" > ${WRKDIR}/Makefile
	${ECHO} >> ${WRKDIR}/Makefile
.for inst in ${PYPY_INST}
	${ECHO} "${PYPY_${inst}_NAME}: build_${PYPY_${inst}_NAME}/usession-release-${DISTVERSION}-0/testing_1/pypy-c" >> ${WRKDIR}/Makefile
	${ECHO} "	${CP} build_${PYPY_${inst}_NAME}/usession-release-${DISTVERSION}-0/testing_1/pypy-c ${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} >> ${WRKDIR}/Makefile
	${ECHO} ".done_translate_${PYPY_${inst}_NAME}:" >> ${WRKDIR}/Makefile
	${ECHO} "	${RM} -rf build_${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} "	${MKDIR} build_${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} "	(cd ${WRKSRC}/pypy/translator/goal; \
				${SETENV} TMPDIR=${WRKDIR}/build_${PYPY_${inst}_NAME} \
				${PY} translate.py --source ${PYPY_${inst}_TRANSLATE_ARGS} -O${PYPY_${inst}_OPT} \
					targetpypystandalone.py ${PYPY_${inst}_OBJSPACE_ARGS} )" >> ${WRKDIR}/Makefile
	${ECHO} "	${TOUCH} .done_translate_${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} >> ${WRKDIR}/Makefile
	${ECHO} "build_${PYPY_${inst}_NAME}/usession-release-${DISTVERSION}-0/testing_1/pypy-c: .done_translate_${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} "	${REINPLACE_CMD} -e 's|^%.o: %.c\$$\$$|.c.o:|g' build_${PYPY_${inst}_NAME}/usession-release-${DISTVERSION}-0/testing_1/Makefile" >> ${WRKDIR}/Makefile
	${ECHO} "	${MAKE} -C build_${PYPY_${inst}_NAME}/usession-release-${DISTVERSION}-0/testing_1 pypy-c" >> ${WRKDIR}/Makefile
	${ECHO} >> ${WRKDIR}/Makefile
.endfor

post-build:
	-${FIND} ${WRKSRC}/${PYPY_LIBDIR} -type d | \
		${SETENV} PYTHON_PATH=${WRKSRC} ${XARGS} \
		${WRKDIR}/${PYPY_PRIMARY} -m compileall -fl
	${MV} ${WRKSRC}/include ${WRKSRC}/include~
	${MKDIR} ${WRKSRC}/include
	${MV} ${WRKSRC}/include~ ${WRKSRC}/${PYPY_INCLUDEDIR}

do-install:
.for dir in ${PYPYDIRS}
	(cd ${WRKSRC}/${dir}; ${COPYTREE_SHARE} . ${PREFIX}/${dir})
.endfor
.for name in ${PYPY_NAMES:O}
	${INSTALL_PROGRAM} ${WRKDIR}/${name} ${PREFIX}/bin/${name}${PYPY_VER}
	${ECHO} bin/${name}${DISTVERSION} >> ${TMPPLIST}
.endfor

post-install:
	${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

test: patch
.for inst in ${PYPY_INST}
	@@${WHICH} ${PYPY_${inst}_NAME} > /dev/null 2>&1 || (${ECHO} "Unable to find ${PYPY_${inst}_NAME}, please install port first!"; exit 1)
	(${CD} ${PYPY_LIBDIR}; ${PYPY_${inst}_NAME} ../../pypy/test_all.py)
.endfor

pkg-plist: build
	${RM} -f ${WRKDIR}/.plist-files-gen ${WRKDIR}/.plist-dirs-gen
.for dir in ${PYPYDIRS}
	cd ${WRKSRC} && ${FIND} ${dir} -type f >> ${WRKDIR}/.plist-files-gen
	cd ${WRKSRC} && ${FIND} ${dir} -type d >> ${WRKDIR}/.plist-dirs-gen
.endfor
	${REINPLACE_CMD} -e 's|^${PYPY_LIBDIR}|%%PYPY_LIBDIR%%|g' \
		-e 's|^${PYPY_INCLUDEDIR}|%%PYPY_INCLUDEDIR%%|g' \
		-e 's|${PYPY_ARCH}|%%PYPY_ARCH%%|g' \
			${WRKDIR}/.plist-files-gen
	${REINPLACE_CMD} -e 's|^${PYPY_LIBDIR}|@@dirrm %%PYPY_LIBDIR%%|g' \
		-e 's|^${PYPY_INCLUDEDIR}|@@dirrm %%PYPY_INCLUDEDIR%%|g' \
			${WRKDIR}/.plist-dirs-gen
	${SORT} ${WRKDIR}/.plist-files-gen > ${WRKDIR}/pkg-plist
	${SORT} -r ${WRKDIR}/.plist-dirs-gen >> ${WRKDIR}/pkg-plist
	${CP} ${WRKDIR}/pkg-plist ${.CURDIR}/pkg-plist

.include <bsd.port.mk>
@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308604
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308604 | bapt | 2012-12-10 13:18:28 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part2)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/pypy/Makefile 308604 2012-12-10 13:18:28Z bapt $
d12 1
a12 1
MAINTAINER=	naylor.b.david@@gmail.com
@


1.9
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/pypy/Makefile 305747 2012-10-12 01:04:30Z jhale $
d120 1
a120 1
JAVA_VERSION=	1.5+
@


1.8
log
@SVN rev 305747 on 2012-10-12 01:04:30Z by jhale

- Remove quotes from options string

While here:
- Trim Makefile header

PR:		ports/172603
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
Approved by:	makc, avilla (mentors, implicit)
Reported by:	Riccardo Torrini
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.7
log
@SVN rev 301117 on 2012-07-18 19:36:31Z by mva

- Remove superfluous site-package patch after fixing the paths

Reported by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
@
text
@d1 1
a1 4
# New ports collection Makefile for:	pypy
# Date created:				2011/05/17
# Whom:					David Naylor <naylor.b.david@@gmail.com>
#
a2 1
#
d22 1
a22 1
SANDBOX_DESC=	"Translate a sandboxed pypy"
@


1.6
log
@SVN rev 301025 on 2012-07-17 19:08:21Z by mva

- Fix site-packages path

Discussed with:	David Naylor <naylor.b.david@@gmail.com>
Approved by:	David Naylor <naylor.b.david@@gmail.com>
Obtained from:	https://github.com/DragonSA/pypy/tree/fix-1.9-2
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.5
log
@Fix detection of i386 platforms

PR:		ports/169607
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
@
text
@d10 1
d207 3
@


1.4
log
@- Update to 1.9 [1]
- Detection of insufficient memory [1]
- Change %%  SUB vaes from fixed at python 27 to use any installed version of python [1]
- Fix syntax of non system include "" vs <> [2]

PR:		ports/168974 [1]
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer) [1]
Reviewed by:	scheidel@@ (me) [2]
@
text
@d184 1
a184 1
.if !defined(PYPY_IGNORE_MEM) && (${PYPY_ARCH} == "i386" || ${PYPY_ARCH} == "ppc_32")
@


1.3
log
@- Disallow from pointyhat, as it seems to receive SIGKILL after two hours of
  building, unknown from where

Feature safe:	yes
@
text
@d9 2
a10 2
DISTVERSION=	1.8
CATEGORIES=	lang python
d24 2
a25 1
OPTIONS=	SANDBOX "Translate a sandboxed pypy" OFF
d33 1
a33 1
WRKSRC=		${WRKDIR}/pypy-pypy-2346207d9946
d35 8
a42 4
PYPYDIRS=	include lib-python lib_pypy site-packages
PYPYPREFIX?=	${PREFIX}/${PORTNAME}-${DISTVERSION}
PLIST_SUB+=	PYPYPREFIX="${PYPYPREFIX:S|^${PREFIX}/||g}" \
		DISTVERSION="${DISTVERSION}"
d45 4
d50 1
a50 1
.include <${.CURDIR}/files/bsd.pypy.inst.mk>
d52 1
d62 1
a62 1
.if defined(WITH_SANDBOX)
d65 2
a66 1
.endif
d74 1
d79 11
a89 1
.endfor
d99 2
a100 1
.endif
d107 1
a107 1
.endif
d113 16
d152 2
a153 2
.endfor
.endif
d158 1
a158 1
	@@${ECHO} "To translate, PyPy requires on i386 3G (min 2G) free RAM and on amd64"
d168 1
a168 1
	@@${ECHO} "PyPy supports a large number of paramaters and customisations.  This port"
d184 15
d201 4
a204 2
post-patch:
	@@${RM} -f ${WRKSRC}/lib-python/2.7/SimpleXMLRPCServer.py.orig
a207 1
		-e 's|%%PYPYPREFIX%%|${PYPYPREFIX}|g' \
d209 1
d235 6
a240 1
	-${FIND} ${PYPYDIRS:S|^|${WRKSRC}/|g} -type d | ${SETENV} PYTHON_PATH=${WRKSRC} ${XARGS} ${WRKDIR}/${PYPY_PRIMARY} -m compileall -fl
a242 1
	${MKDIR} ${PYPYPREFIX} ${PYPYPREFIX}/bin
d244 1
a244 4
	cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${PYPYPREFIX}
.endfor
.for f in LICENSE README
	${INSTALL_DATA} ${WRKSRC}/${f} ${PYPYPREFIX}/${f}
d247 2
a248 3
	${INSTALL_PROGRAM} ${WRKDIR}/${name} ${PYPYPREFIX}/bin/${name}
	${LN} -fs ${PYPYPREFIX}/bin/${name} ${PREFIX}/bin/${name}${DISTVERSION}
	${ECHO} bin/${name}${DISTVERSION} >> ${TMPPLIST}.prefix
a249 5
.for name in ${PYPY_NAMES:O}
	${ECHO} ${PYPYPREFIX:S|${PREFIX}/||}/bin/${name} >> ${TMPPLIST}.prefix
.endfor
	${CAT} ${TMPPLIST} >> ${TMPPLIST}.prefix
	${MV} ${TMPPLIST}.prefix ${TMPPLIST}
d257 1
a257 1
	(${CD} ${WRKSRC}/lib-python; ${PYPY_${inst}_NAME} ../pypy/test_all.py)
d266 7
a272 7
.for f in LICENSE README
	${ECHO} ${f} >> ${WRKDIR}/.plist-files-gen
.endfor
	${ECHO} 'bin' >> ${WRKDIR}/.plist-dirs-gen
	${REINPLACE_CMD} -e 's|^|%%PYPYPREFIX%%/|g' -e 's|${PYPY_ARCH}|%%PYPY_ARCH%%|g' ${WRKDIR}/.plist-files-gen
	${REINPLACE_CMD} -e 's|^|@@dirrm %%PYPYPREFIX%%/|g' ${WRKDIR}/.plist-dirs-gen
	${ECHO} '@@dirrm %%PYPYPREFIX%%' >> ${WRKDIR}/.plist-dirs-gen
@


1.2
log
@- Update to 1.8
- Add fix for CVE-2012-0845

PR:		ports/165026
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
@
text
@d44 4
@


1.1
log
@Add pypy 1.7, PyPy is a fast, compliant implementation of the Python language.

PR:		ports/160265
Submitted by:	David Naylor <naylor.b.david@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	1.7
d32 1
a32 1
WRKSRC=		${WRKDIR}/pypy-pypy-release-${DISTVERSION}
d68 1
d70 3
d143 3
d156 2
a157 2
	${ECHO} "${PYPY_${inst}_NAME}: build_${PYPY_${inst}_NAME}/usession-unknown-0/testing_1/pypy-c" >> ${WRKDIR}/Makefile
	${ECHO} "	${CP} build_${PYPY_${inst}_NAME}/usession-unknown-0/testing_1/pypy-c ${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
d168 3
a170 3
	${ECHO} "build_${PYPY_${inst}_NAME}/usession-unknown-0/testing_1/pypy-c: .done_translate_${PYPY_${inst}_NAME}" >> ${WRKDIR}/Makefile
	${ECHO} "	${REINPLACE_CMD} -e 's|^%.o: %.c\$$\$$|.c.o:|g' build_${PYPY_${inst}_NAME}/usession-unknown-0/testing_1/Makefile" >> ${WRKDIR}/Makefile
	${ECHO} "	${MAKE} -C build_${PYPY_${inst}_NAME}/usession-unknown-0/testing_1 pypy-c" >> ${WRKDIR}/Makefile
d182 2
a183 2
.for file in LICENSE README
	${INSTALL_DATA} ${WRKSRC}/${file} ${PYPYPREFIX}/${file}
d211 2
a212 2
.for file in LICENSE README
	${ECHO} ${file} >> ${WRKDIR}/.plist-files-gen
@

