summaryrefslogtreecommitdiffstats
path: root/converters/py-iconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/py-iconv/Makefile')
-rw-r--r--converters/py-iconv/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/converters/py-iconv/Makefile b/converters/py-iconv/Makefile
index e9daadd..246eeb8 100644
--- a/converters/py-iconv/Makefile
+++ b/converters/py-iconv/Makefile
@@ -16,11 +16,10 @@ DIST_SUBDIR= python
MAINTAINER= perky@fallin.lv
-BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
SETUPINFO= ,libraries=["iconv"],library_dirs=["${LOCALBASE}/lib"],\
@@ -30,10 +29,4 @@ post-patch:
cd ${WRKSRC} && ${SED} 's!^\(.*ext_mod.*\)\()]\)$$!\1${SETUPINFO}\2!g'\
setup.py > setup.py.tmp && ${CAT} setup.py.tmp > setup.py
-do-build:
- ${SETUP_CMD} build
-
-do-install:
- ${SETUP_CMD} install
-
.include <bsd.port.mk>
OpenPOWER on IntegriCloud