openbsd-ports/misc/py-memcached/Makefile
benoit 23ed143dac - update py-memcached to 1.48
maintainer timeout
2013-03-13 08:25:37 +00:00

32 lines
669 B
Makefile

# $OpenBSD: Makefile,v 1.11 2013/03/13 08:25:37 benoit Exp $
COMMENT = Python interface to memcached
MODPY_EGG_VERSION = 1.48
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
NO_TEST = Yes
pre-install:
@perl -pi -e "s,#!.*python,#!${MODPY_BIN}," ${WRKSRC}/memcache.py
post-install:
@rm -rf ${WRKSRC}/python_memcached.egg-info
.include <bsd.port.mk>