openbsd-ports/misc/py-memcached/Makefile

36 lines
764 B
Makefile
Raw Normal View History

2011-09-16 06:31:20 -04:00
# $OpenBSD: Makefile,v 1.9 2011/09/16 10:31:23 espie Exp $
COMMENT = Python interface to memcached
MODPY_EGG_VERSION = 1.43
DISTNAME = python-memcached-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/python-/py-/}
2011-09-16 06:31:20 -04:00
REVISION = 2
CATEGORIES = misc
HOMEPAGE = http://www.tummy.com/Community/software/python-memcached/
MAINTAINER = Ben Lovett <ben@tilderoot.com>
# Python
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ftp://ftp.tummy.com/pub/python-memcached/
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
NO_REGRESS = 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>