13 | | Zim is a WYSIWYG text editor written in Gtk2-Perl. It aims to bring the \ |
14 | | concept of a wiki to your desktop. Every page is saved as a text file \ |
15 | | with wiki markup. Pages can contain links to other pages, and are saved \ |
16 | | automatically. Creating a new page is as easy as linking to a \ |
17 | | non-existing page. This tool is intended to keep track of TODO lists or \ |
18 | | to serve as a personal scratch book. But it will also serve you when \ |
19 | | writing longer and more complicated documents. |
20 | | |
21 | | platforms darwin |
22 | | supported_archs noarch |
23 | | |
24 | | homepage http://www.zim-wiki.org |
25 | | master_sites ${homepage}/downloads/ |
26 | | distname Zim-${version} |
27 | | |
28 | | checksums md5 fce152562b57d4753edfcdc635a26e42 \ |
29 | | sha1 c0d1d5ad956ee682f01ecbd89009eb9f0852f34c \ |
30 | | rmd160 b6ecc7c6f094670754b4219e7506edefd00b2ca1 |
31 | | |
32 | | depends_lib port:p5.18-gtk2 port:p5.18-module-build port:p5.18-file-mimeinfo \ |
33 | | port:p5.18-file-basedir port:p5.18-file-desktopentry |
| 15 | Zim is a graphical text editor used to maintain a collection of wiki pages. \ |
| 16 | Each page can contain links to other pages, simple formatting and images. \ |
| 17 | Pages are stored in a folder structure, like in an outliner, and can have \ |
| 18 | attachments. Creating a new page is as easy as linking to a nonexistent \ |
| 19 | page. All data is stored in plain text files with wiki formatting. Various \ |
| 20 | plugins provide additional functionality, like a task list manager, an \ |
| 21 | equation editor, a tray icon, and support for version control. |
| 22 | |
| 23 | homepage http://zim-wiki.org |
| 24 | master_sites ${homepage}/downloads |
| 25 | |
| 26 | checksums md5 f781cefa9f8c669b1a664e03361977e2 \ |
| 27 | sha1 f6abef969687ca09467031def1ddbcb611cb9f92 \ |
| 28 | rmd160 896facd152cf7403479a2307efe0763d9d2c37fe |
| 29 | |
| 30 | depends_lib-append port:py26-gobject \ |
| 31 | port:py26-gtk \ |
| 32 | port:py26-xdg |
| 33 | |
| 34 | use_configure no |
| 35 | build {} |
| 36 | |
| 37 | set python.prefix ${frameworks_dir}/Python.framework/Versions/2.6 |
| 38 | set python.bindir ${python.prefix}/bin |
| 39 | |
| 40 | #destroot.cmd ${python.bin} setup.py |
| 41 | #destroot.target install |
| 42 | destroot.args --skip-xdg-cmd |
| 43 | destroot.destdir --install-lib=${destroot}${python.pkgd} \ |
| 44 | --install-scripts=${destroot}${python.bindir} \ |
| 45 | --install-data=${destroot}${prefix} |
| 46 | |
| 47 | python.link_binaries no |
| 48 | |
| 49 | post-destroot { |
| 50 | xinstall -m 755 ${filespath}/zim ${destroot}${prefix}/bin |
| 51 | reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/zim |
| 52 | reinplace "s|__PYTHON_BINDIR__|${python.bindir}|g" ${destroot}${prefix}/bin/zim |
| 53 | } |