Ticket #28285: Portfile

File Portfile, 1.8 KB (added by geekosaur, 13 years ago)

office/keepnote/Portfile

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 72378 2010-10-12 17:41:59Z elelay@macports.org $
3
4PortSystem          1.0
5PortGroup           python27 1.0
6
7name                keepnote
8version             0.6.7
9categories          office
10categories-append   python
11license             GPLv2
12platforms           darwin
13maintainers         nomaintainer
14description         "Cross-platform note-taking and organization"
15long_description    \
16KeepNote is a note taking application that works on Windows, \
17Linux, and MacOS X. With KeepNote, you can store your class \
18notes, TODO lists, research notes, journal entries, paper \
19outlines, etc in a simple notebook hierarchy with rich-text \
20formatting, images, and more. Using full-text search, \
21you can retrieve any note for later reference.
22
23homepage            http://keepnote.org/keepnote/
24master_sites        ${homepage}/download
25distname            keepnote-${version}
26
27checksums           md5     9405456a6353b91a53e875ea90f4371c \
28                    sha1    d24843f49615a3264f2e5590b3bee5c6a8eacb1a \
29                    rmd160  7dacf019c862bd3e9c845d4376db6e934b420a6e
30
31depends_lib         port:py27-gtk
32
33post-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
41livecheck.type      regex
42livecheck.url       ${homepage}
43livecheck.regex     "<a href=\"keepnote-(\\d+\\.\\d+)"