openbsd-ports/misc/py-memcached/Makefile

32 lines
669 B
Makefile
Raw Normal View History

# $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
2013-03-11 07:20:26 -04:00
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>