summaryrefslogtreecommitdiffstats
path: root/textproc/pybook
diff options
context:
space:
mode:
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 98be0c5..b534363 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>
OpenPOWER on IntegriCloud