35 lines
699 B
Makefile
Raw Normal View History

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