Add textproc/plover, an open source program providing real-time

stenographic technology.

Feature safe:	yes
This commit is contained in:
Jimmy Olgeni 2012-11-03 16:42:40 +00:00
parent 8aac7a56b6
commit e869a2e9a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306923
6 changed files with 128 additions and 0 deletions

View file

@ -1103,6 +1103,7 @@
SUBDIR += php53-xmlreader
SUBDIR += php53-xmlwriter
SUBDIR += php53-xsl
SUBDIR += plover
SUBDIR += po4a
SUBDIR += pocketreader
SUBDIR += pootle

28
textproc/plover/Makefile Normal file
View file

@ -0,0 +1,28 @@
# Created by: Jimmy Olgeni <olgeni@FreeBSD.org>
# $FreeBSD$
PORTNAME= plover
PORTVERSION= 2.2.0
CATEGORIES= textproc
MASTER_SITES= http://launchpadlibrarian.net/88624187/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Open source solution for stenography
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlib>=0:${PORTSDIR}/x11-toolkits/py-xlib \
${PYTHON_PKGNAMEPREFIX}serial>=0:${PORTSDIR}/comms/py-serial \
${PYTHON_PKGNAMEPREFIX}lockfile>=0:${PORTSDIR}/devel/py-lockfile
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_WX= 2.8
WX_COMPS= wx
WX_UNICODE= yes
post-patch:
@${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/setup.py
.include <bsd.port.mk>

2
textproc/plover/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (plover-2.2.0.tar.gz) = 787e7f909268fb892cbaff1dd58a4684610457a101367485e40d73f6d3b88ff3
SIZE (plover-2.2.0.tar.gz) = 926763

View file

@ -0,0 +1,16 @@
$FreeBSD$
--- setup.py.orig
+++ setup.py
@@ -24,8 +24,8 @@
package_dir={'plover':'plover'},
packages=['plover', 'plover.dictionary', 'plover.machine', 'plover.gui'],
package_data={'plover' : ['assets/*']},
- data_files=[('/usr/share/applications', ['application/Plover.desktop']),
- ('/usr/share/pixmaps', ['plover/assets/plover_on.png']),],
+ data_files=[('%%PREFIX%%/share/applications', ['application/Plover.desktop']),
+ ('%%PREFIX%%/share/pixmaps', ['plover/assets/plover_on.png']),],
scripts=['application/plover'],
requires=['serial', 'Xlib', 'wx', 'lockfile'],
platforms=['GNU/Linux'],

View file

@ -0,0 +1,6 @@
Plover is a free open source program intended to bring real-time
stenographic technology not just to stenographers, but also to
hackers, hobbyists, accessibility mavens, and all-around speed
demons.
WWW: http://ploversteno.org/

75
textproc/plover/pkg-plist Normal file
View file

@ -0,0 +1,75 @@
bin/plover
share/applications/Plover.desktop
share/pixmaps/plover_on.png
%%PYTHON_SITELIBDIR%%/plover/__init__.py
%%PYTHON_SITELIBDIR%%/plover/__init__.pyc
%%PYTHON_SITELIBDIR%%/plover/__init__.pyo
%%PYTHON_SITELIBDIR%%/plover/app.py
%%PYTHON_SITELIBDIR%%/plover/app.pyc
%%PYTHON_SITELIBDIR%%/plover/app.pyo
%%PYTHON_SITELIBDIR%%/plover/assets/dict.json
%%PYTHON_SITELIBDIR%%/plover/assets/plover_off.png
%%PYTHON_SITELIBDIR%%/plover/assets/plover_on.png
%%PYTHON_SITELIBDIR%%/plover/config.py
%%PYTHON_SITELIBDIR%%/plover/config.pyc
%%PYTHON_SITELIBDIR%%/plover/config.pyo
%%PYTHON_SITELIBDIR%%/plover/dictionary/__init__.py
%%PYTHON_SITELIBDIR%%/plover/dictionary/__init__.pyc
%%PYTHON_SITELIBDIR%%/plover/dictionary/__init__.pyo
%%PYTHON_SITELIBDIR%%/plover/dictionary/check_encoding.py
%%PYTHON_SITELIBDIR%%/plover/dictionary/check_encoding.pyc
%%PYTHON_SITELIBDIR%%/plover/dictionary/check_encoding.pyo
%%PYTHON_SITELIBDIR%%/plover/dictionary/dcat.py
%%PYTHON_SITELIBDIR%%/plover/dictionary/dcat.pyc
%%PYTHON_SITELIBDIR%%/plover/dictionary/dcat.pyo
%%PYTHON_SITELIBDIR%%/plover/dictionary/eclipse.py
%%PYTHON_SITELIBDIR%%/plover/dictionary/eclipse.pyc
%%PYTHON_SITELIBDIR%%/plover/dictionary/eclipse.pyo
%%PYTHON_SITELIBDIR%%/plover/exception.py
%%PYTHON_SITELIBDIR%%/plover/exception.pyc
%%PYTHON_SITELIBDIR%%/plover/exception.pyo
%%PYTHON_SITELIBDIR%%/plover/formatting.py
%%PYTHON_SITELIBDIR%%/plover/formatting.pyc
%%PYTHON_SITELIBDIR%%/plover/formatting.pyo
%%PYTHON_SITELIBDIR%%/plover/gui/__init__.py
%%PYTHON_SITELIBDIR%%/plover/gui/__init__.pyc
%%PYTHON_SITELIBDIR%%/plover/gui/__init__.pyo
%%PYTHON_SITELIBDIR%%/plover/gui/config.py
%%PYTHON_SITELIBDIR%%/plover/gui/config.pyc
%%PYTHON_SITELIBDIR%%/plover/gui/config.pyo
%%PYTHON_SITELIBDIR%%/plover/gui/main.py
%%PYTHON_SITELIBDIR%%/plover/gui/main.pyc
%%PYTHON_SITELIBDIR%%/plover/gui/main.pyo
%%PYTHON_SITELIBDIR%%/plover/gui/serial_config.py
%%PYTHON_SITELIBDIR%%/plover/gui/serial_config.pyc
%%PYTHON_SITELIBDIR%%/plover/gui/serial_config.pyo
%%PYTHON_SITELIBDIR%%/plover/keyboardcontrol.py
%%PYTHON_SITELIBDIR%%/plover/keyboardcontrol.pyc
%%PYTHON_SITELIBDIR%%/plover/keyboardcontrol.pyo
%%PYTHON_SITELIBDIR%%/plover/machine/__init__.py
%%PYTHON_SITELIBDIR%%/plover/machine/__init__.pyc
%%PYTHON_SITELIBDIR%%/plover/machine/__init__.pyo
%%PYTHON_SITELIBDIR%%/plover/machine/base.py
%%PYTHON_SITELIBDIR%%/plover/machine/base.pyc
%%PYTHON_SITELIBDIR%%/plover/machine/base.pyo
%%PYTHON_SITELIBDIR%%/plover/machine/geminipr.py
%%PYTHON_SITELIBDIR%%/plover/machine/geminipr.pyc
%%PYTHON_SITELIBDIR%%/plover/machine/geminipr.pyo
%%PYTHON_SITELIBDIR%%/plover/machine/sidewinder.py
%%PYTHON_SITELIBDIR%%/plover/machine/sidewinder.pyc
%%PYTHON_SITELIBDIR%%/plover/machine/sidewinder.pyo
%%PYTHON_SITELIBDIR%%/plover/machine/txbolt.py
%%PYTHON_SITELIBDIR%%/plover/machine/txbolt.pyc
%%PYTHON_SITELIBDIR%%/plover/machine/txbolt.pyo
%%PYTHON_SITELIBDIR%%/plover/orthography.py
%%PYTHON_SITELIBDIR%%/plover/orthography.pyc
%%PYTHON_SITELIBDIR%%/plover/orthography.pyo
%%PYTHON_SITELIBDIR%%/plover/steno.py
%%PYTHON_SITELIBDIR%%/plover/steno.pyc
%%PYTHON_SITELIBDIR%%/plover/steno.pyo
@dirrmtry share/applications
@dirrm %%PYTHON_SITELIBDIR%%/plover/machine
@dirrm %%PYTHON_SITELIBDIR%%/plover/gui
@dirrm %%PYTHON_SITELIBDIR%%/plover/dictionary
@dirrm %%PYTHON_SITELIBDIR%%/plover/assets
@dirrm %%PYTHON_SITELIBDIR%%/plover