freebsd-ports/devel/py-zope.minmax/Makefile
Antoine Brodin f101ca6d6d Fix some files unreadable by regular users, this causes errors like:
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 1514, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/zope.minmax-1.1.2-py2.7.egg-info/namespace_packages.txt'

While here, modernize a bit
2014-08-23 15:01:47 +00:00

25 lines
553 B
Makefile

# $FreeBSD$
PORTNAME= zope.minmax
PORTVERSION= 1.1.2
PORTREVISION= 2
CATEGORIES= devel python zope
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= zope
MAINTAINER= zope@FreeBSD.org
COMMENT= Homogeneous values favoring maximum or minimum
LICENSE= ZPL21
RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface
USES= python
USE_PYTHON= distutils autoplist
post-extract:
${CHMOD} -R a+rX ${WRKSRC}
.include <bsd.port.mk>