- USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)
31 lines
766 B
Makefile
31 lines
766 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= plone.scale
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python zope
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= zope@FreeBSD.org
|
|
COMMENT= Image scaling
|
|
|
|
LICENSE= BSD
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope.annotation \
|
|
${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \
|
|
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \
|
|
${PYTHON_PKGNAMEPREFIX}Persistence>=0:${PORTSDIR}/devel/py-Persistence
|
|
|
|
DIST_SUBDIR= zope
|
|
USE_PYTHON= 2
|
|
USE_PYDISTUTILS=easy_install
|
|
USE_ZIP= yes
|
|
|
|
NO_STAGE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,zip_safe=True,zip_safe=False,g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|