mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
20912cb511
PR: 209293 Submitted by: tkato432 yahoo com Sponsored by: Absolight
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Alan Eldridge <ports@geeksrus.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= leo
|
|
PORTVERSION= 5.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
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
|
|
${PYTHON_PKGNAMEPREFIX}qt4-svg>0:graphics/py-qt4-svg \
|
|
${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils \
|
|
silvercity>0:textproc/silvercity \
|
|
${PYTHON_PKGNAMEPREFIX}qt4-gui>0:x11-toolkits/py-qt4-gui
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= python:2 shebangfix zip
|
|
SHEBANG_FILES= leo/doc/html/fixup.pl leo/external/saveleo
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
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
|
|
|
|
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>
|