openbsd-ports/devel/py-py/Makefile

37 lines
823 B
Makefile
Raw Normal View History

2009-10-11 16:59:37 -04:00
# $OpenBSD: Makefile,v 1.8 2009/10/11 20:59:37 jasper Exp $
2007-07-09 10:44:22 -04:00
ONLY_FOR_ARCHS= i386 amd64 powerpc
COMMENT= agile development and test support library
2008-04-15 05:35:43 -04:00
MODPY_EGG_VERSION= 0.9.1
DISTNAME= py-${MODPY_EGG_VERSION}
2009-10-11 16:59:37 -04:00
PKGNAME= py-${DISTNAME}p1
CATEGORIES= devel
HOMEPAGE= http://codespeak.net/pypy/
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://codespeak.net/download/py/
MODULES= lang/python
NO_REGRESS= Yes
MODPY_DISTUTILS_INSTALL= install --prefix=${LOCALBASE} \
--root=${DESTDIR}
post-install:
rm -fr ${DESTDIR}${MODPY_SITEPKG}/py/c-extension/greenlet/build
rm -f ${DESTDIR}${MODPY_SITEPKG}/py/c-extension/greenlet/slp_platformselect.h.orig
.include <bsd.port.mk>