openbsd-ports/devel/py-greenlet/Makefile
landry 206684cb34 Unbreak on ppc & give it a chance to build on mips*. Set ONLY_FOR_ARCHS
since it has platform-dependent code in slp_platformdetect.h..

breakage reported by ajacoutot@
2012-08-17 21:51:49 +00:00

36 lines
883 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/08/17 21:51:49 landry Exp $
COMMENT = lightweight in-process concurrent programming
# see slp_platformselect.h
ONLY_FOR_ARCHS = amd64 arm i386 mips64 mips64el powerpc sparc sparc64
MODPY_EGG_VERSION = 0.4.0
DISTNAME = greenlet-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
EXTRACT_SUFX = .zip
CATEGORIES = devel
HOMEPAGE = http://pypi.python.org/pypi/greenlet
# BSD-like
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=g/greenlet/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_DISTUTILS_INSTALL= install --prefix=${LOCALBASE} \
--root=${DESTDIR}
WANTLIB = ${MODPY_WANTLIB}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-greenlet
${INSTALL_DATA} ${WRKSRC}/README.rst \
${PREFIX}/share/doc/py-greenlet
.include <bsd.port.mk>