diff options
author | rm <rm@FreeBSD.org> | 2015-06-19 02:58:44 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2015-06-19 02:58:44 +0800 |
commit | 300804e0355608c4d04f92b497f2e2c79fb78320 (patch) | |
tree | 2e86c1a205275e85f63f7e3ca63056ce75615058 /deskutils | |
parent | e4420381225da362360f795f0cac6a45d3f283e0 (diff) | |
download | freebsd-ports-gnome-300804e0355608c4d04f92b497f2e2c79fb78320.tar.gz freebsd-ports-gnome-300804e0355608c4d04f92b497f2e2c79fb78320.tar.zst freebsd-ports-gnome-300804e0355608c4d04f92b497f2e2c79fb78320.zip |
editors/zim: move to deskutils
Zim is more than just editor, it's desktop wiki system with rich text
capabilities, so it's more appropriate to move it deskutils category.
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/zim/Makefile | 55 | ||||
-rw-r--r-- | deskutils/zim/distinfo | 2 | ||||
-rw-r--r-- | deskutils/zim/pkg-descr | 19 |
4 files changed, 77 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index f071be3fe2c3..542379673d5b 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -277,6 +277,7 @@ SUBDIR += xpostitPlus SUBDIR += xrolo SUBDIR += xwrits + SUBDIR += zim SUBDIR += znotes SUBDIR += zorro diff --git a/deskutils/zim/Makefile b/deskutils/zim/Makefile new file mode 100644 index 000000000000..3e6a85659c4b --- /dev/null +++ b/deskutils/zim/Makefile @@ -0,0 +1,55 @@ +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> +# $FreeBSD$ + +PORTNAME= zim +PORTVERSION= 0.63 +CATEGORIES= deskutils python +MASTER_SITES= http://www.zim-wiki.org/downloads/ + +MAINTAINER= rm@FreeBSD.org +COMMENT= Desktop wiki editor + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \ + xdg-open:${PORTSDIR}/devel/xdg-utils \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 + +NO_ARCH= yes + +USES= desktop-file-utils gettext python:2 shared-mime-info +USE_GNOME= pygtk2 +USE_PYTHON= autoplist distutils +INSTALLS_ICONS= yes + +OPTIONS_DEFINE= BZR DITAA GIT GNUPLOT GNUR GRAPHVIZ LATEX \ + MERCURIAL SCROT + +DITAA_DESC= Diagram editor support +DITAA_RUN_DEPENDS= ditaa:${PORTSDIR}/graphics/ditaa +BZR_DESC= Version control for notebooks using bzr +BZR_RUN_DEPENDS= bzr:${PORTSDIR}/devel/bzr +GIT_DESC= Version control for notebooks using git +GIT_RUN_DEPENDS= git:${PORTSDIR}/devel/git +GNUPLOT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot +GNUR_DESC= Support of plot editor based on GNU R +GNUR_RUN_DEPENDS= R:${PORTSDIR}/math/R +GRAPHVIZ_RUN_DEPENDS= fdp:${PORTSDIR}/graphics/graphviz +LATEX_USE= tex=latex:run +MERCURIAL_DESC= Version control for notebooks using hg +MERCURIAL_RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial +SCROT_DESC= Screenshot taking and inserting support +SCROT_RUN_DEPENDS= scrot:${PORTSDIR}/graphics/scrot + +post-patch: + @${REINPLACE_CMD} -e \ + '/.command.install /s|distutils|setuptools| ; \ + s|share/man|man| ; \ + /.skip_xdg_cmd = /s|0|1|' \ + ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e \ + 's|decode('utf-8')|decode('utf-8','replace')|g' \ + ${WRKSRC}/zim/utils.py + +.include <bsd.port.mk> diff --git a/deskutils/zim/distinfo b/deskutils/zim/distinfo new file mode 100644 index 000000000000..589b7a8d83ae --- /dev/null +++ b/deskutils/zim/distinfo @@ -0,0 +1,2 @@ +SHA256 (zim-0.63.tar.gz) = 1584547150b6c96dacdb540c2b88e16d2cd673fa8026d9179aab4a082071fb1c +SIZE (zim-0.63.tar.gz) = 1864169 diff --git a/deskutils/zim/pkg-descr b/deskutils/zim/pkg-descr new file mode 100644 index 000000000000..3566fd4b0b6c --- /dev/null +++ b/deskutils/zim/pkg-descr @@ -0,0 +1,19 @@ +Zim - A Desktop Wiki Editor + +Zim is a graphical text editor used to maintain a collection of wiki +pages. Each page can contain links to other pages, simple formatting and +images. Pages are stored in a folder structure, like in an outliner, and +can have attachments. Creating a new page is as easy as linking to a +nonexistent page. All data is stored in plain text files with wiki +formatting. Various plugins provide additional functionality, like a +task list manager, an equation editor, a tray icon, and support for +version control. + +Zim can be used to: +* Keep an archive of notes +* Take notes during meetings or lectures +* Organize task lists +* Draft blog entries and emails +* Do brainstorming + +WWW: http://www.zim-wiki.org |