source: trunk/dports/office/keepnote/Portfile @ 126329

Last change on this file since 126329 was 126329, checked in by jmr@…, 6 years ago

keepnote: use unified python portgroup, mark noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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 126329 2014-10-07 23:28:23Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                keepnote
8version             0.7.7
9revision            1
10categories          office python
11license             GPL-2
12platforms           darwin
13supported_archs     noarch
14maintainers         nomaintainer
15
16description         Cross-platform note-taking and organization
17
18long_description    KeepNote is a note taking application that works on \
19                    Windows, Linux, and Mac OS X. With KeepNote, you can \
20                    store your class notes, to-do lists, research notes, \
21                    journal entries, paper outlines, etc. in a simple \
22                    notebook hierarchy with rich-text formatting, images, \
23                    and more. Using full-text search, you can retrieve any \
24                    note for later reference.
25
26homepage            http://keepnote.org/
27master_sites        ${homepage}download
28distname            keepnote-${version}
29
30checksums           rmd160  6a1b8eb2dfeb9beccc41fc3a5a5d13d9f1ad4bba \
31                    sha256  17577738199220f3b92e1dadaa71db806365655dc0c04194909bc481b08abb74
32
33python.default_version  27
34
35depends_lib         port:py${python.version}-pygtk
36
37post-destroot {
38    xinstall -d ${destroot}${prefix}/share/applications/
39    xinstall -d ${destroot}${prefix}/share/icons/hicolor/48x48/apps/
40    ln -s ${python.prefix}/bin/keepnote ${destroot}${prefix}/bin/
41    ln -s ${python.prefix}/share/applications/keepnote.desktop ${destroot}${prefix}/share/applications/
42    ln -s ${python.prefix}/share/icons/hicolor/48x48/apps/keepnote.png ${destroot}${prefix}/share/icons/hicolor/48x48/apps/
43}
44
45livecheck.type      regex
46livecheck.url       ${homepage}
47livecheck.regex     "<a href=\"keepnote-(\\d+\\.\\d+)"
Note: See TracBrowser for help on using the repository browser.