aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-23 14:05:54 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-23 14:05:54 +0000
commit485984607bfce9318033735bec98bca4c53f0f9c (patch)
treed7936b334319bc4510d923909c86c647bbd94613
parent553e1aab3207910343dd62c856d0ab7cba5dd2cd (diff)
downloadports-485984607bfce9318033735bec98bca4c53f0f9c.tar.gz
ports-485984607bfce9318033735bec98bca4c53f0f9c.zip
Notes
-rw-r--r--editors/leo/Makefile9
-rw-r--r--editors/leo/distinfo4
2 files changed, 8 insertions, 5 deletions
diff --git a/editors/leo/Makefile b/editors/leo/Makefile
index 7141d2130c8e..b99c16df8ebe 100644
--- a/editors/leo/Makefile
+++ b/editors/leo/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= leo
-PORTVERSION= 5.1
-PORTREVISION= 2
+PORTVERSION= 5.2
CATEGORIES= editors python
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final
DISTNAME= Leo-${PORTVERSION}-final
@@ -30,11 +29,15 @@ USE_PYTHON= autoplist distutils
DESKTOP_ENTRIES="Leo" "Literate Editor with Outlines" \
"${PYTHONPREFIX_SITELIBDIR}/leo/Icons/leoapp32.png" "leo" "" ""
-OPTIONS_DEFINE= DOCS PYENCHANT
+OPTIONS_DEFINE= PYENCHANT
PYENCHANT_DESC= Spell checking support via PyEnchant
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:${PORTSDIR}/textproc/py-enchant
+post-patch:
+ @${LN} -sf leo/dist/leo-install.py ${WRKSRC}/leo-install.py
+ @${LN} -sf leo/dist/setup.py ${WRKSRC}/setup.py
+
post-install:
@${REINPLACE_CMD} -e 's,===,==,' ${STAGEDIR}${PREFIX}/bin/leo \
${STAGEDIR}${PREFIX}/bin/leoc
diff --git a/editors/leo/distinfo b/editors/leo/distinfo
index aba6e8a3a548..855f39d0cce8 100644
--- a/editors/leo/distinfo
+++ b/editors/leo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (leo/Leo-5.1-final.zip) = 2d742f9825959ba5c7624d1179b9f3065e14e055c90272fbce199f91770de826
-SIZE (leo/Leo-5.1-final.zip) = 9028778
+SHA256 (leo/Leo-5.2-final.zip) = 2df0ac372be832a837157ce289ada1c34cf883aace5cf760df62ae8ceeb6858f
+SIZE (leo/Leo-5.2-final.zip) = 9373533