summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:13:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:13:08 +0000
commit607550dd0993fd6e18abf7dcb4d02a9ffcb9d3ca (patch)
treef173a04751ddb201adab3ab4a648830ca07e74d0 /misc
parentuse USE_PYDISTUTILS (diff)
use USE_PYDISTUTILS
Notes
Notes: svn path=/head/; revision=58327
Diffstat (limited to 'misc')
-rw-r--r--misc/pdfmap/Makefile9
-rw-r--r--misc/salias/Makefile8
2 files changed, 3 insertions, 14 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}
diff --git a/misc/salias/Makefile b/misc/salias/Makefile
index 3abc229f5a28..ee8d946edc99 100644
--- a/misc/salias/Makefile
+++ b/misc/salias/Makefile
@@ -16,12 +16,6 @@ DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
+USE_PYDISTUTILS= yes
.include <bsd.port.mk>