2015-07-16 21:27:41 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2015/07/16 21:27:41 ajacoutot Exp $
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
COMMENT = Python interface to memcached
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2015-07-16 21:27:41 +00:00
|
|
|
MODPY_EGG_VERSION = 1.54
|
2009-03-25 22:31:22 +00:00
|
|
|
DISTNAME = python-memcached-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = ${DISTNAME:S/python-/py-/}
|
|
|
|
CATEGORIES = misc
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
HOMEPAGE = http://www.tummy.com/Community/software/python-memcached/
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
MAINTAINER = Ben Lovett <ben@tilderoot.com>
|
2006-06-14 08:41:14 +00:00
|
|
|
|
|
|
|
# Python
|
2009-03-25 22:31:22 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
MASTER_SITES = ftp://ftp.tummy.com/pub/python-memcached/
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
MODULES = lang/python
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
|
2013-03-11 11:20:26 +00:00
|
|
|
NO_TEST = Yes
|
2006-06-14 08:41:14 +00:00
|
|
|
|
2015-07-16 21:27:41 +00:00
|
|
|
FLAVORS = python3
|
|
|
|
FLAVOR ?=
|
|
|
|
|
2006-06-14 08:41:14 +00:00
|
|
|
pre-install:
|
|
|
|
@perl -pi -e "s,#!.*python,#!${MODPY_BIN}," ${WRKSRC}/memcache.py
|
|
|
|
|
2009-03-25 22:31:22 +00:00
|
|
|
post-install:
|
2015-05-25 07:54:27 +00:00
|
|
|
rm -r ${WRKSRC}/python_memcached.egg-info
|
2009-03-25 22:31:22 +00:00
|
|
|
|
2006-06-14 08:41:14 +00:00
|
|
|
.include <bsd.port.mk>
|