summaryrefslogtreecommitdiffstats
path: root/lang/stackless_python/Makefile
blob: 0a2802c6e18d48a538c98196b64d8b2ef9455b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Ports collection makefile for:  stackless_python
# Date created:			  29 March 2001
# Whom:				  Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#

PORTNAME=	python
PORTVERSION=	2.2.2
PORTREVISION=	${CVSDATE}0
CATEGORIES=	lang python
MASTER_SITES=	#
PKGNAMEPREFIX=	stackless_

PATCH_SITES=	${MASTER_SITE_LOCAL} \
		http://people.freebsd.org/~perky/distfiles/
PATCH_SITE_SUBDIR=	perky
PATCHFILES=	stackless-${CVSDATE}.diff.bz2
PATCH_DIST_STRIP=	-p1

MAINTAINER=	perky@FreeBSD.org
COMMENT=	Python implementation that does not use the C stack

ONLY_FOR_ARCHS=	i386 powerpc
CVSDATE=	021026
MASTERDIR=	${.CURDIR}/../../lang/python

DESCR=		${.CURDIR}/pkg-descr
MD5_FILE=	${.CURDIR}/distinfo
PLIST=		${WRKDIR}/pkg-plist

post-patch:
	@${FIND} ${WRKSRC} -name '*.orig' -exec ${RM} -f {} \;
	@${RM} -rf ${WRKSRC}/Lib/test/output/test_atexit \
			${WRKSRC}/Lib/test/output/test_minidom
	@${ECHO} "lib/%%PYTHON_VERSION%%/lib-dynload/stackless.so" >${PLIST}
	@${CAT} ${MASTERDIR}/pkg-plist >>${PLIST}

.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud