summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-setuptools/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-setuptools/Makefile b/devel/py-setuptools/Makefile
index 0e8aea1a986..70f7f8c3731 100644
--- a/devel/py-setuptools/Makefile
+++ b/devel/py-setuptools/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2009/10/31 02:10:34 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.18 2010/09/04 15:57:16 tron Exp $
EGG_VERSION= 0.6c11
DISTNAME= setuptools-${EGG_VERSION}
EGG_NAME= setuptools-${EGG_VERSION}
PKGNAME= ${PYPKGPREFIX}-setuptools-${EGG_VERSION}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/s/setuptools/
@@ -44,6 +44,11 @@ PLIST.py24= yes
PLIST.py25= yes
.endif
+.if ${OPSYS} == "Darwin" && \
+ (${PYPKGPREFIX} != "py24" && ${PYPKGPREFIX} != "py25")
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
+
post-extract:
chmod -R go-w ${WRKSRC}