From b04d92c2ad799668222b9e6a667e9bb3deef9abe Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 29 Apr 2002 19:08:55 +0000 Subject: use USE_PYDISTUTILS --- textproc/py-4suite/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'textproc/py-4suite') diff --git a/textproc/py-4suite/Makefile b/textproc/py-4suite/Makefile index f0a6276d69e4..c73685a261cb 100644 --- a/textproc/py-4suite/Makefile +++ b/textproc/py-4suite/Makefile @@ -15,11 +15,13 @@ DISTNAME= 4Suite-${PORTVERSION} MAINTAINER= wjv@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} \ - ${PYXML} +BUILD_DEPENDS= ${PYXML} RUN_DEPENDS= ${PYXML} USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \ + --install-data=${PREFIX}/share .include .if ${PYTHON_VERSION} == "python1.5" || ${PYTHON_VERSION} == "python1.6" @@ -38,13 +40,4 @@ post-patch: ${WRKSRC}/setup.py .endif -do-build: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py build - -do-install: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py install -c -O1 --prefix=${PREFIX} \ - --install-data=${PREFIX}/share - .include -- cgit v1.2.3