2013-06-11 20:22:13 +02:00
|
|
|
# Created by: Alan Eldridge <ports@geeksrus.net>
|
2002-11-17 22:19:57 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= leo
|
2016-05-09 15:42:58 +02:00
|
|
|
PORTVERSION= 5.3
|
2017-04-21 16:16:37 +02:00
|
|
|
PORTREVISION= 1
|
2003-07-08 14:01:24 +02:00
|
|
|
CATEGORIES= editors python
|
2013-11-26 21:25:32 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final
|
2014-05-29 19:48:12 +02:00
|
|
|
DISTNAME= Leo-${PORTVERSION}-final
|
2003-07-08 14:01:24 +02:00
|
|
|
DIST_SUBDIR= leo
|
2002-11-17 22:19:57 +01:00
|
|
|
|
2008-07-27 06:30:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-07-08 14:01:24 +02:00
|
|
|
COMMENT= Advanced outline editor for programmers
|
2002-11-17 22:19:57 +01:00
|
|
|
|
2011-11-27 11:00:11 +01:00
|
|
|
LICENSE= MIT
|
2015-03-03 21:28:56 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
2002-11-17 22:19:57 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils \
|
2017-02-04 14:37:15 +01:00
|
|
|
silvercity>0:textproc/silvercity
|
2011-11-27 11:00:11 +01:00
|
|
|
|
2017-02-04 14:37:15 +01:00
|
|
|
USES= pyqt:4 python:2 shebangfix zip
|
2017-04-21 16:16:37 +02:00
|
|
|
SHEBANG_FILES= leo/doc/html/fixup.pl leo/external/saveleo \
|
|
|
|
leo/dist/leo-install.py leo/scripts/leo
|
2017-02-04 14:37:15 +01:00
|
|
|
USE_PYQT= gui_run svg_run
|
2015-03-03 21:28:56 +01:00
|
|
|
USE_PYTHON= autoplist distutils
|
2017-04-21 16:16:37 +02:00
|
|
|
NO_ARCH= yes
|
2002-11-18 03:55:54 +01:00
|
|
|
|
2013-11-26 21:25:32 +01:00
|
|
|
DESKTOP_ENTRIES="Leo" "Literate Editor with Outlines" \
|
2015-03-03 21:28:56 +01:00
|
|
|
"${PYTHONPREFIX_SITELIBDIR}/leo/Icons/leoapp32.png" "leo" "" ""
|
2013-11-26 21:25:32 +01:00
|
|
|
|
2016-03-23 15:05:54 +01:00
|
|
|
OPTIONS_DEFINE= PYENCHANT
|
2002-11-17 22:19:57 +01:00
|
|
|
|
2015-05-19 10:45:07 +02:00
|
|
|
PYENCHANT_DESC= Spell checking support via PyEnchant
|
2016-04-01 16:00:51 +02:00
|
|
|
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:textproc/py-enchant
|
2002-11-17 22:19:57 +01:00
|
|
|
|
2016-03-23 15:05:54 +01:00
|
|
|
post-patch:
|
|
|
|
@${LN} -sf leo/dist/leo-install.py ${WRKSRC}/leo-install.py
|
|
|
|
@${LN} -sf leo/dist/setup.py ${WRKSRC}/setup.py
|
|
|
|
|
2015-11-18 19:24:18 +01:00
|
|
|
post-install:
|
|
|
|
@${REINPLACE_CMD} -e 's,===,==,' ${STAGEDIR}${PREFIX}/bin/leo \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/leoc
|
|
|
|
|
2011-11-27 11:00:11 +01:00
|
|
|
.include <bsd.port.mk>
|