aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/gwrite/Makefile33
-rw-r--r--editors/gwrite/distinfo3
-rw-r--r--editors/gwrite/pkg-descr15
-rw-r--r--editors/gwrite/pkg-plist34
5 files changed, 86 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 80ce97b1c64f..5bf31297f6f5 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -69,6 +69,7 @@
SUBDIR += gnuserv
SUBDIR += gobby
SUBDIR += gphpedit
+ SUBDIR += gwrite
SUBDIR += hexcurse
SUBDIR += hexedit
SUBDIR += hexpert
diff --git a/editors/gwrite/Makefile b/editors/gwrite/Makefile
new file mode 100644
index 000000000000..4525a3da53f3
--- /dev/null
+++ b/editors/gwrite/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: gwrite
+# Date created: 07 Mar 2010
+# Whom: Ju Pengfei <jupengfei@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gwrite
+PORTVERSION= 0.3.0
+CATEGORIES= editors python
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= jupengfei@gmail.com
+COMMENT= A simple HTML format editor
+
+BUILD_DEPENDS= pygtk-demo:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ ${PYTHON_PKGNAMEPREFIX}distutils-extra>=2.15:${PORTSDIR}/devel/py-distutils-extra \
+ ${PYTHON_SITELIBDIR}/webkit/__init__.py:${PORTSDIR}/www/py-webkitgtk \
+ ${PYTHON_SITELIBDIR}/jswebkit.so:${PORTSDIR}/www/py-jswebkit \
+ ${LOCALBASE}/bin/intltool-update:${PORTSDIR}/textproc/intltool
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
+ ${LOCALBASE}/share/icons/Tango/index.theme:${PORTSDIR}/x11-themes/icons-tango \
+ wvHtml:${PORTSDIR}/textproc/wv
+
+PROJECTHOST= gwrite
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_NOEGGINFO= yes
+
+.include <bsd.port.mk>
diff --git a/editors/gwrite/distinfo b/editors/gwrite/distinfo
new file mode 100644
index 000000000000..4f6d24dcdb30
--- /dev/null
+++ b/editors/gwrite/distinfo
@@ -0,0 +1,3 @@
+MD5 (gwrite-0.3.0.tar.gz) = 20055cd0f83b0fc7a7c70a1460f0ac21
+SHA256 (gwrite-0.3.0.tar.gz) = a245f03a5929643e6135ac7d90b796d64945fe448609c5d2de0b43c6390240db
+SIZE (gwrite-0.3.0.tar.gz) = 43406
diff --git a/editors/gwrite/pkg-descr b/editors/gwrite/pkg-descr
new file mode 100644
index 000000000000..9fb736b4fe13
--- /dev/null
+++ b/editors/gwrite/pkg-descr
@@ -0,0 +1,15 @@
+gwrite is an HTML format text editor.
+
+Features:
+
+ 1. HTML5 file format
+ 2. Standard word processing user interface
+ 3. Content structure oriented word processing
+ 4. Title style table of contents production
+ 5. Similar navigation/documentation views in Microsoft Word
+ 6. Paragraph selection when double or right click in navigation view
+ 7. Word count: for document or selections, count the words(with and
+without spaces), paragraphs, lines, English words, Chinese characters.
+ 8. Images inclusion via Base64
+
+WWW: http://code.google.com/p/gwrite
diff --git a/editors/gwrite/pkg-plist b/editors/gwrite/pkg-plist
new file mode 100644
index 000000000000..1181b8fbd82e
--- /dev/null
+++ b/editors/gwrite/pkg-plist
@@ -0,0 +1,34 @@
+bin/gwrite
+%%PYTHON_SITELIBDIR%%/gwrite/gtkdialogs.py
+%%PYTHON_SITELIBDIR%%/gwrite/__init__.py
+%%PYTHON_SITELIBDIR%%/gwrite/config.py
+%%PYTHON_SITELIBDIR%%/gwrite/gtklatex.py
+%%PYTHON_SITELIBDIR%%/gwrite/gwrite.py
+%%PYTHON_SITELIBDIR%%/gwrite/i18n.py
+%%PYTHON_SITELIBDIR%%/gwrite/webkitlinkview.py
+%%PYTHON_SITELIBDIR%%/gwrite/docfilter.py
+%%PYTHON_SITELIBDIR%%/gwrite/webkitedit.py
+%%PYTHON_SITELIBDIR%%/gwrite/gtkdialogs.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/config.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/gtklatex.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/gwrite.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/i18n.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/webkitlinkview.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/docfilter.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/webkitedit.pyc
+%%PYTHON_SITELIBDIR%%/gwrite/gtkdialogs.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/config.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/gtklatex.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/gwrite.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/i18n.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/webkitlinkview.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/docfilter.pyo
+%%PYTHON_SITELIBDIR%%/gwrite/webkitedit.pyo
+%%PYTHON_SITELIBDIR%%/gwrite-0.0.2-py2.6.egg-info
+share/locale/zh_CN/LC_MESSAGES/gwrite.mo
+share/pixmaps/gwrite.png
+share/applications/gwrite.desktop
+@dirrm share/applications
+@dirrm %%PYTHON_SITELIBDIR%%/gwrite