blob: 9e3e0997e2334165aa22312f7dfccd21ccfc237d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Alan Eldridge <ports@geeksrus.net>
# $FreeBSD$
PORTNAME= leo
PORTVERSION= 5.3
PORTREVISION= 3
CATEGORIES= editors python
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final
DISTNAME= Leo-${PORTVERSION}-final
DIST_SUBDIR= leo
MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced outline editor for programmers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
silvercity>0:textproc/silvercity
USES= pyqt:4 python:2.7 shebangfix zip
SHEBANG_FILES= leo/doc/html/fixup.pl leo/external/saveleo \
leo/dist/leo-install.py leo/scripts/leo
USE_PYQT= gui_run svg_run
USE_PYTHON= autoplist distutils
NO_ARCH= yes
DESKTOP_ENTRIES="Leo" "Literate Editor with Outlines" \
"${PYTHONPREFIX_SITELIBDIR}/leo/Icons/leoapp32.png" "leo" "" ""
OPTIONS_DEFINE= PYENCHANT
PYENCHANT_DESC= Spell checking support via PyEnchant
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:textproc/py-enchant@${PY_FLAVOR}
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
.include <bsd.port.mk>
|