From 97757211b4f2b09cc721b6fd0a41812bec75c8aa Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 29 Apr 2002 12:57:09 +0000 Subject: use USE_PYDISTUTILS --- converters/py-iconv/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/converters/py-iconv/Makefile b/converters/py-iconv/Makefile index e9daaddd2c66..246eeb81209c 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 -- cgit