2011-09-16 08:00:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2011/09/16 12:00:08 espie Exp $
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
COMMENT = Python HTTP client library
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
MODPY_EGG_VERSION = 0.6.0
|
|
|
|
DISTNAME = httplib2-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME}
|
2011-09-16 08:00:05 -04:00
|
|
|
REVISION = 1
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
CATEGORIES = www net
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
HOMEPAGE = http://code.google.com/p/httplib2/
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
MAINTAINER = Benoit Chesneau <benoitc@metavers.net>
|
2007-12-10 16:32:42 -05:00
|
|
|
|
|
|
|
# MIT
|
2010-11-23 10:08:16 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
MASTER_SITES = http://httplib2.googlecode.com/files/
|
2007-12-10 16:32:42 -05:00
|
|
|
|
2010-11-23 10:08:16 -05:00
|
|
|
MODULES = lang/python
|
2007-12-10 16:32:42 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-httplib2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-httplib2
|
|
|
|
|
|
|
|
do-regress:
|
2010-11-23 10:08:16 -05:00
|
|
|
${MODPY_BIN} ${WRKSRC}/lib/httplib2/iri2uri.py
|
2007-12-10 16:32:42 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|