source: trunk/dports/devel/opensync/Portfile @ 31255

Last change on this file since 31255 was 31255, checked in by takanori@…, 11 years ago

opensync: Linted.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 31255 2007-11-19 05:23:23Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            opensync
6version         0.22
7revision        2
8categories      devel
9maintainers     nomaintainer
10description     Synchronization framework
11long_description \
12                OpenSync is a synchronization framework that is platform and \
13                distribution independent.  It consists of a powerful sync-engine and \
14                several plugins that can be used to connect to devices. \
15                \
16                OpenSync is very flexible and capable of synchronizing any type of \
17                data, including contacts, calendar, tasks, notes and files.
18platforms       darwin
19homepage        http://www.opensync.org/
20master_sites    http://www.opensync.org/attachment/wiki/download/
21use_bzip2       yes
22distname        lib${name}-${version}
23distfiles       ${distname}${extract.suffix}?format=raw
24checksums       md5 f563ce2543312937a9afb4f8445ef932 \
25                sha1 47860a8c6621aa89fbff2af2517787747af7cc30 \
26                rmd160 a1e9715d037a7c474b80d609e6c96a24cbb6692f
27
28depends_lib     port:gettext \
29                port:glib2 \
30                port:libiconv \
31                port:libxml2 \
32                port:pkgconfig \
33                port:py25-gobject \
34                port:py25-numeric \
35                port:python25 \
36                port:sqlite3 \
37                port:swig \
38                port:zlib
39
40post-patch {
41    fs-traverse f ${worksrcpath} {
42        if [string match "*/Makefile.in" ${f}] {
43            reinplace "s|-Werror||" ${f}
44        }
45    }
46}
47
48configure.env   PYTHON=${prefix}/bin/python2.5
49configure.args  --disable-dependency-tracking --enable-python=2.5 --libexecdir=${prefix}/sbin
50
51build.target
52
53post-destroot {
54    delete ${destroot}${prefix}/lib/python2.5/site-packages/opensync.pyc
55
56    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
57    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO ${destroot}${prefix}/share/doc/${name}
58}
Note: See TracBrowser for help on using the repository browser.