Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/editors/leo/Makefile 401886 2015-11-18 18:24:18Z rm $ |
2 |
# $FreeBSD: head/editors/leo/Makefile 401886 2015-11-18 18:24:18Z rm $ |
3 |
|
3 |
|
4 |
PORTNAME= leo |
4 |
PORTNAME= leo |
5 |
PORTVERSION= 5.1 |
5 |
PORTVERSION= 5.2 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= editors python |
6 |
CATEGORIES= editors python |
8 |
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final |
7 |
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final |
9 |
DISTNAME= Leo-${PORTVERSION}-final |
8 |
DISTNAME= Leo-${PORTVERSION}-final |
Lines 30-42
Link Here
|
30 |
DESKTOP_ENTRIES="Leo" "Literate Editor with Outlines" \ |
29 |
DESKTOP_ENTRIES="Leo" "Literate Editor with Outlines" \ |
31 |
"${PYTHONPREFIX_SITELIBDIR}/leo/Icons/leoapp32.png" "leo" "" "" |
30 |
"${PYTHONPREFIX_SITELIBDIR}/leo/Icons/leoapp32.png" "leo" "" "" |
32 |
|
31 |
|
33 |
OPTIONS_DEFINE= DOCS PYENCHANT |
32 |
OPTIONS_DEFINE= PYENCHANT |
34 |
|
33 |
|
35 |
PYENCHANT_DESC= Spell checking support via PyEnchant |
34 |
PYENCHANT_DESC= Spell checking support via PyEnchant |
36 |
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:${PORTSDIR}/textproc/py-enchant |
35 |
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:${PORTSDIR}/textproc/py-enchant |
37 |
|
36 |
|
|
|
37 |
post-patch: |
38 |
@${LN} -sf leo/dist/leo-install.py ${WRKSRC}/leo-install.py |
39 |
@${LN} -sf leo/dist/setup.py ${WRKSRC}/setup.py |
40 |
|
38 |
post-install: |
41 |
post-install: |
39 |
@${REINPLACE_CMD} -e 's,===,==,' ${STAGEDIR}${PREFIX}/bin/leo \ |
42 |
.for i in leo leoc |
40 |
${STAGEDIR}${PREFIX}/bin/leoc |
43 |
@${REINPLACE_CMD} -i "" -e \ |
|
|
44 |
's|===|==|' ${STAGEDIR}${PREFIX}/bin/${i} |
45 |
.endfor |
41 |
|
46 |
|
42 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |