diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2013-07-07 22:51:15 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2013-07-07 22:51:15 +0000 |
commit | db285450219e4827352597fed26f80fbf0b250f8 (patch) | |
tree | 8e92f1dd28f3ec74f7dded449917db0600a29a8f | |
parent | d0f6dca4041e3e0b001fea273c03307d34594d95 (diff) | |
download | ports-db285450219e4827352597fed26f80fbf0b250f8.tar.gz ports-db285450219e4827352597fed26f80fbf0b250f8.zip |
Notes
-rw-r--r-- | textproc/py-MarkupSafe/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/textproc/py-MarkupSafe/Makefile b/textproc/py-MarkupSafe/Makefile index c7450dc592f8..791ce0e70033 100644 --- a/textproc/py-MarkupSafe/Makefile +++ b/textproc/py-MarkupSafe/Makefile @@ -18,6 +18,14 @@ PYEASYINSTALL_ARCHDEP= no .include <bsd.port.pre.mk> +.if ${PYTHON_VERSION} == python3.2 +PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} +PY2TO3_ARGS= --no-diffs --fix=all --nobackups --verbose --write + +pre-build: + @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/markupsafe +.endif + .if ${PYTHON_REL} >= 320 .include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" .endif |