aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-openexr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-openexr/Makefile')
-rw-r--r--graphics/py-openexr/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/py-openexr/Makefile b/graphics/py-openexr/Makefile
index d1c0bbae3f51..f34852f8d00e 100644
--- a/graphics/py-openexr/Makefile
+++ b/graphics/py-openexr/Makefile
@@ -15,12 +15,11 @@ COMMENT= Python module for ILM's OpenEXR image format and library
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
+USES= python
+USE_PYTHON= distutils autoplist
+MASTER_SITE_SUBDIR=source/O/OpenEXR
+
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/setup.py
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-MASTER_SITE_SUBDIR=source/O/OpenEXR
-
.include <bsd.port.mk>