summaryrefslogtreecommitdiff
path: root/print/py-fonttools
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
commit91cb80d94325e8fcc4dd2bd428e58094b0f30891 (patch)
treefc97a09970827819a50f2263bd7760b9da076d95 /print/py-fonttools
parentUpdate erlang documentation to version R8B-1 (8.1). (diff)
use USE_PYDISTUTILS
Diffstat (limited to 'print/py-fonttools')
-rw-r--r--print/py-fonttools/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile
index 002cc118f8e5..6f899ca70f04 100644
--- a/print/py-fonttools/Makefile
+++ b/print/py-fonttools/Makefile
@@ -16,8 +16,7 @@ DISTNAME= fonttools-${PORTVERSION}
MAINTAINER= jkoshy@freebsd.org
-BUILD_DEPENDS= ${PYDISTUTILS} \
- xmlproc_val:${PORTSDIR}/textproc/py-xml \
+BUILD_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
@@ -25,14 +24,11 @@ RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
WRKSRC= ${WRKDIR}/fonttools
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
DOCDIR= ${PREFIX}/share/doc/py-fonttools
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build
-
-do-install:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install
+post-install:
${INSTALL_SCRIPT} ${WRKSRC}/ttDump.py ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/ttCompile.py ${PREFIX}/bin/
.if !defined(NOPORTDOCS)