openbsd-ports/devel/py-gevent/Makefile
landry d1add410c6 Properly link with libeventextra, fix WANTLIB while here.
Fixes missing symbols issue reported by armani@
2012-12-13 20:42:45 +00:00

32 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/12/13 20:42:45 landry Exp $
COMMENT = network library for easy and scalable concurrency
MODPY_EGG_VERSION = 0.13.7
DISTNAME = gevent-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = devel
HOMEPAGE = http://www.gevent.org/
# MPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=g/gevent/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_DISTUTILS_BUILD= build --build-base=${WRKSRC} \
-I${LOCALBASE}/include -L${LOCALBASE}/lib
LIB_DEPENDS = devel/libeventextra
WANTLIB = ${MODPY_WANTLIB} event eventextra pthread
RUN_DEPENDS = devel/py-greenlet
.include <bsd.port.mk>