freebsd-ports/devel/py-zope.interface/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

44 lines
1.3 KiB
Makefile

# New ports collection makefile for: py-zopeInterface
# Date created: 13 April 2005
# Whom: Neal Nelson <neal@nelson.name>
#
# $FreeBSD$
#
PORTNAME= zopeInterface
PORTVERSION= 3.3.0.1
CATEGORIES= devel zope python
MASTER_SITES= http://cheeseshop.python.org/packages/source/z/zope.interface/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= zope.interface-${PORTVERSION}
MAINTAINER= neal@nelson.name
COMMENT= Zope.interface package from Zope 3
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
MANUAL_PACKAGE_BUILD=Doesn't build in tinderbox environment
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= zope.interface
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYZOPEINTERFACE_EGG}
PYZOPEINTERFACE_EGG= zope.interface-${PORTVERSION}-py${PYTHON_VER}-${OPSYS:L}-${OSRELEASE}-${ARCH}.egg
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYZOPEINTERFACE_EGG=${PYZOPEINTERFACE_EGG} \
PYZOPEINTERFACE_EGG_VER="zope.interface==${PORTVERSION}"
.include <bsd.port.pre.mk>
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>