openbsd-ports/net/py-curl/Makefile
2009-03-25 13:52:31 +00:00

34 lines
734 B
Makefile

# $OpenBSD: Makefile,v 1.28 2009/03/25 13:52:31 jasper Exp $
SHARED_ONLY= Yes
COMMENT= Python interface to cURL library
MODPY_EGG_VERSION= 7.19.0
DISTNAME= pycurl-${MODPY_EGG_VERSION}
PKGNAME= py-curl-${MODPY_EGG_VERSION}p0
CATEGORIES= net
HOMEPAGE= http://pycurl.sourceforge.net/
# dual: LGPL or MIT-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= crypto idn ssl z
MASTER_SITES= ${HOMEPAGE}download/ \
${HOMEPAGE}download/00-OLD-VERSIONS/
MODULES= lang/python
LIB_DEPENDS= curl.>=12::net/curl
do-regress: fake
@cd ${WRKSRC}/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./test_getinfo.py
.include <bsd.port.mk>