aboutsummaryrefslogtreecommitdiffstats
path: root/misc
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
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')
-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>