aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pdfmap
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:13:08 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:13:08 +0800
commite38fff91879984989b856b8feeb0ef4570ddd13d (patch)
tree5488c812fcb1ebb833b5bf8dec94fa14d0228073 /misc/pdfmap
parentab1ff1663deabb3dd9edb43c7f101b80eb48760b (diff)
downloadfreebsd-ports-gnome-e38fff91879984989b856b8feeb0ef4570ddd13d.tar.gz
freebsd-ports-gnome-e38fff91879984989b856b8feeb0ef4570ddd13d.tar.zst
freebsd-ports-gnome-e38fff91879984989b856b8feeb0ef4570ddd13d.zip
use USE_PYDISTUTILS
Diffstat (limited to 'misc/pdfmap')
-rw-r--r--misc/pdfmap/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/misc/pdfmap/Makefile b/misc/pdfmap/Makefile
index 65edb1c7e08b..7713d93a8082 100644
--- a/misc/pdfmap/Makefile
+++ b/misc/pdfmap/Makefile
@@ -19,14 +19,9 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/jaxml.py:${PORTSDIR}/textproc/py-jaxml \
${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
+post-install:
@${MV} -f ${PREFIX}/bin/pdfmap.py ${PREFIX}/bin/pdfmap
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}