1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 72378 2010-10-12 17:41:59Z elelay@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python27 1.0 |
---|
6 | |
---|
7 | name keepnote |
---|
8 | version 0.6.7 |
---|
9 | categories office |
---|
10 | categories-append python |
---|
11 | license GPLv2 |
---|
12 | platforms darwin |
---|
13 | maintainers nomaintainer |
---|
14 | description "Cross-platform note-taking and organization" |
---|
15 | long_description \ |
---|
16 | KeepNote is a note taking application that works on Windows, \ |
---|
17 | Linux, and MacOS X. With KeepNote, you can store your class \ |
---|
18 | notes, TODO lists, research notes, journal entries, paper \ |
---|
19 | outlines, etc in a simple notebook hierarchy with rich-text \ |
---|
20 | formatting, images, and more. Using full-text search, \ |
---|
21 | you can retrieve any note for later reference. |
---|
22 | |
---|
23 | homepage http://keepnote.org/keepnote/ |
---|
24 | master_sites ${homepage}/download |
---|
25 | distname keepnote-${version} |
---|
26 | |
---|
27 | checksums md5 9405456a6353b91a53e875ea90f4371c \ |
---|
28 | sha1 d24843f49615a3264f2e5590b3bee5c6a8eacb1a \ |
---|
29 | rmd160 7dacf019c862bd3e9c845d4376db6e934b420a6e |
---|
30 | |
---|
31 | depends_lib port:py27-gtk |
---|
32 | |
---|
33 | post-destroot { |
---|
34 | xinstall -d ${destroot}${prefix}/share/applications/ |
---|
35 | xinstall -d ${destroot}${prefix}/share/icons/hicolor/48x48/apps/ |
---|
36 | ln -s ${python.prefix}/bin/keepnote ${destroot}${prefix}/bin/ |
---|
37 | ln -s ${python.prefix}/share/applications/keepnote.desktop ${destroot}${prefix}/share/applications/ |
---|
38 | ln -s ${python.prefix}/share/icons/hicolor/48x48/apps/keepnote.png ${destroot}${prefix}/share/icons/hicolor/48x48/apps/ |
---|
39 | } |
---|
40 | |
---|
41 | livecheck.type regex |
---|
42 | livecheck.url ${homepage} |
---|
43 | livecheck.regex "<a href=\"keepnote-(\\d+\\.\\d+)" |
---|