aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-4suite
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 03:08:55 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 03:08:55 +0800
commit9a85df7d34a38d23db7d14c231fd53639b5042fa (patch)
tree880c2c8d15c16775c3dde56ecb978e354cac3163 /textproc/py-4suite
parentf3a41e2fa8c1a98f6cb36cabbf902ac4ddb564e9 (diff)
downloadfreebsd-ports-gnome-9a85df7d34a38d23db7d14c231fd53639b5042fa.tar.gz
freebsd-ports-gnome-9a85df7d34a38d23db7d14c231fd53639b5042fa.tar.zst
freebsd-ports-gnome-9a85df7d34a38d23db7d14c231fd53639b5042fa.zip
use USE_PYDISTUTILS
Diffstat (limited to 'textproc/py-4suite')
-rw-r--r--textproc/py-4suite/Makefile15
1 files changed, 4 insertions, 11 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>