aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pyutil
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-11 12:47:30 +0800
committermiwi <miwi@FreeBSD.org>2007-06-11 12:47:30 +0800
commit84db414a1484e8c73bd608d591680084a88b788d (patch)
tree27f2afe53565153f60b32d8fff6f43cc4c60f938 /devel/py-pyutil
parent7e5792dec6d752d345fce8dac0f2b6b2d644bc66 (diff)
downloadfreebsd-ports-gnome-84db414a1484e8c73bd608d591680084a88b788d.tar.gz
freebsd-ports-gnome-84db414a1484e8c73bd608d591680084a88b788d.tar.zst
freebsd-ports-gnome-84db414a1484e8c73bd608d591680084a88b788d.zip
- Fix build
PR: 113402 Submitted by: pointyhat via kris maintainer
Diffstat (limited to 'devel/py-pyutil')
-rw-r--r--devel/py-pyutil/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/py-pyutil/Makefile b/devel/py-pyutil/Makefile
index 1cab7f0c5aa6..25275f16cb96 100644
--- a/devel/py-pyutil/Makefile
+++ b/devel/py-pyutil/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pyutil
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/p/pyutil
@@ -17,18 +18,20 @@ MAINTAINER= quakelee@cn.FreeBSD.org
COMMENT= A collection of mature utilities for Python programmers
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
USE_PYTHON= 2.4
USE_PYDISTUTILS= yes
-
-PYUTIL_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OPSYS:L}-${OSRELEASE}-${ARCH}.egg
+PYTHONVER?= ${_PYTHON_VERSION}
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYTHONVER=${PYTHONVER} \
PYUTIL_EGG=${PYUTIL_EGG} \
PYUTIL_EGG_VER="${PORTNAME}==${PORTVERSION}"
+OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH}
+PYUTIL_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OSINFOS}.egg
post-patch:
@${REINPLACE_CMD} -e 's|^from\ ez\_setup|#from\ ez\_setup|' \