aboutsummaryrefslogtreecommitdiff
path: root/textproc/plover
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2012-11-03 16:42:40 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2012-11-03 16:42:40 +0000
commite869a2e9a02d5f9fe5a1c6291a1632a70c85c629 (patch)
tree2a19f9e7a6bad7ce51a746951945a9221edef561 /textproc/plover
parent8aac7a56b6c1def7c45c01367c04149acd2ccb30 (diff)
downloadports-e869a2e9a02d5f9fe5a1c6291a1632a70c85c629.tar.gz
ports-e869a2e9a02d5f9fe5a1c6291a1632a70c85c629.zip
Notes
Diffstat (limited to 'textproc/plover')
-rw-r--r--textproc/plover/Makefile28
-rw-r--r--textproc/plover/distinfo2
-rw-r--r--textproc/plover/files/patch-setup.py16
-rw-r--r--textproc/plover/pkg-descr6
-rw-r--r--textproc/plover/pkg-plist75
5 files changed, 127 insertions, 0 deletions
diff --git a/textproc/plover/Makefile b/textproc/plover/Makefile
new file mode 100644
index 000000000000..9c84936a8a0e
--- /dev/null
+++ b/textproc/plover/Makefile
@@ -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>
diff --git a/textproc/plover/distinfo b/textproc/plover/distinfo
new file mode 100644
index 000000000000..4bbdc62276ff
--- /dev/null
+++ b/textproc/plover/distinfo
@@ -0,0 +1,2 @@
+SHA256 (plover-2.2.0.tar.gz) = 787e7f909268fb892cbaff1dd58a4684610457a101367485e40d73f6d3b88ff3
+SIZE (plover-2.2.0.tar.gz) = 926763
diff --git a/textproc/plover/files/patch-setup.py b/textproc/plover/files/patch-setup.py
new file mode 100644
index 000000000000..2fc094e72c9e
--- /dev/null
+++ b/textproc/plover/files/patch-setup.py
@@ -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'],
diff --git a/textproc/plover/pkg-descr b/textproc/plover/pkg-descr
new file mode 100644
index 000000000000..ce2767809b99
--- /dev/null
+++ b/textproc/plover/pkg-descr
@@ -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/
diff --git a/textproc/plover/pkg-plist b/textproc/plover/pkg-plist
new file mode 100644
index 000000000000..b06f4ae4d019
--- /dev/null
+++ b/textproc/plover/pkg-plist
@@ -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