aboutsummaryrefslogtreecommitdiff
path: root/editors/leo
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-11-18 18:24:18 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-11-18 18:24:18 +0000
commitbaa06e600be8a7a49a3b3ffbc2b1a85b2e3a849d (patch)
tree6ba6359792e6e4b2f7fead53c4ca690c7dcabc3d /editors/leo
parente3461f317862d3eb17409bd2afac439429fcdfa6 (diff)
downloadports-baa06e600be8a7a49a3b3ffbc2b1a85b2e3a849d.tar.gz
ports-baa06e600be8a7a49a3b3ffbc2b1a85b2e3a849d.zip
Notes
Diffstat (limited to 'editors/leo')
-rw-r--r--editors/leo/Makefile8
-rw-r--r--editors/leo/pkg-descr2
2 files changed, 7 insertions, 3 deletions
diff --git a/editors/leo/Makefile b/editors/leo/Makefile
index a9b84bc0c3d7..7141d2130c8e 100644
--- a/editors/leo/Makefile
+++ b/editors/leo/Makefile
@@ -3,7 +3,7 @@
PORTNAME= leo
PORTVERSION= 5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors python
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final
DISTNAME= Leo-${PORTVERSION}-final
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
NO_ARCH= yes
-USES= python shebangfix zip
+USES= python:2 shebangfix zip
SHEBANG_FILES= leo/doc/html/fixup.pl leo/external/saveleo
USE_PYTHON= autoplist distutils
@@ -35,4 +35,8 @@ OPTIONS_DEFINE= DOCS PYENCHANT
PYENCHANT_DESC= Spell checking support via PyEnchant
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:${PORTSDIR}/textproc/py-enchant
+post-install:
+ @${REINPLACE_CMD} -e 's,===,==,' ${STAGEDIR}${PREFIX}/bin/leo \
+ ${STAGEDIR}${PREFIX}/bin/leoc
+
.include <bsd.port.mk>
diff --git a/editors/leo/pkg-descr b/editors/leo/pkg-descr
index d8408cc777c0..97ac1443b817 100644
--- a/editors/leo/pkg-descr
+++ b/editors/leo/pkg-descr
@@ -17,6 +17,6 @@
* Leo is portable. Leo.py is 100% pure Python and will run on any
platform supporting Python and PyQt, including Windows, Linux and
MacOS X.
-* Leo is Open Software, distributed under the Python License.
+* Leo is Open Software, distributed under the Python License.
WWW: http://leoeditor.com/