aboutsummaryrefslogtreecommitdiff
path: root/textproc/pybook
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 19:08:55 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 19:08:55 +0000
commitb04d92c2ad799668222b9e6a667e9bb3deef9abe (patch)
treec2971de608f6eb91dfb550425f28d5c48c2e2bf6 /textproc/pybook
parente752955f1ef2ad144f4298479b749fcd66e4d010 (diff)
downloadports-b04d92c2ad799668222b9e6a667e9bb3deef9abe.tar.gz
ports-b04d92c2ad799668222b9e6a667e9bb3deef9abe.zip
use USE_PYDISTUTILS
Notes
Notes: svn path=/head/; revision=58336
Diffstat (limited to 'textproc/pybook')
-rw-r--r--textproc/pybook/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/pybook/Makefile b/textproc/pybook/Makefile
index 98be0c56c2a2..b534363c7b8e 100644
--- a/textproc/pybook/Makefile
+++ b/textproc/pybook/Makefile
@@ -14,17 +14,12 @@ MASTER_SITES= http://silmarill.org/pybook/
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
-
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+USE_PYDISTUTILS= yes
post-patch:
@${PERL} -pi -e "s,python2,python,g" ${WRKSRC}/pybook.py
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
+post-install:
@${MV} -f ${PREFIX}/bin/pybook.py ${PREFIX}/bin/pybook
.include <bsd.port.mk>