freebsd-ports/www/py-WebError/Makefile
Antoine Brodin 8290033cad 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/WebError-0.10.3-py2.7.egg-info/entry_points.txt'

While here, modernize a bit
2014-08-23 14:37:54 +00:00

27 lines
696 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= WebError
PORTVERSION= 0.10.3
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Web Error handling and exception catching
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.7:${PORTSDIR}/www/py-paste \
${PYTHON_PKGNAMEPREFIX}pygments>=1.0:${PORTSDIR}/textproc/py-pygments \
${PYTHON_PKGNAMEPREFIX}Tempita>=0.3:${PORTSDIR}/textproc/py-Tempita \
${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:${PORTSDIR}/www/py-webob
USES= python
USE_PYTHON= distutils autoplist
post-extract:
${CHMOD} -R a+r ${WRKSRC}
.include <bsd.port.mk>