aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 20:57:09 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-29 20:57:09 +0800
commit97757211b4f2b09cc721b6fd0a41812bec75c8aa (patch)
tree6aa626d86d1babdc8457fabb9f7f842f2c1628a5
parent39099f5d1532785c2cbad8a89242c31a5c8c2e5a (diff)
downloadfreebsd-ports-gnome-97757211b4f2b09cc721b6fd0a41812bec75c8aa.tar.gz
freebsd-ports-gnome-97757211b4f2b09cc721b6fd0a41812bec75c8aa.tar.zst
freebsd-ports-gnome-97757211b4f2b09cc721b6fd0a41812bec75c8aa.zip
use USE_PYDISTUTILS
-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 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 <bsd.port.mk>