Ticket #21790: Portfile

File Portfile, 1.3 KB (added by vigevenoj@…, 14 years ago)

Portfile for gcalcli

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$
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                gcalcli
8version             1.4
9categories-append   devel
10maintainers         nomaintainer
11description         Google Calendar Command Line Interface
12long_description \
13    gcalcli is a Python application that allows you to access your Google \
14    Calendar from a command line. It is easy to get your agenda, search \
15    for events and quickly add new events. Additionally, gcalcli can be \
16    used as a reminder service to execute any application you want.
17license             MIT
18platforms           darwin
19homepage            http://code.google.com/p/gcalcli
20master_sites        http://gcalcli.googlecode.com/files/
21distname            gcalcli-${version}
22extract.suffix      .tgz
23
24checksums           sha1    65edd3b1a825a178746485ca5d8321a40c400794
25
26depends_lib         port:py26-gdata \
27                    port:py26-elementtree \
28                    port:py26-dateutil
29use_configure       no
30
31post-patch {
32        reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python|" ${workpath}/gcalcli
33}
34
35build {}
36
37destroot {
38        xinstall -m 755 ${workpath}/gcalcli ${destroot}${prefix}/bin/$name
39}
40