aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
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>