From 2e6d9ababfb7123876793aada27151fb1a060189 Mon Sep 17 00:00:00 2001
From: Dave Abrahams <dave@boostpro.com>
Date: Sun, 11 Nov 2012 13:58:06 -0500
Subject: [PATCH] Update isync portfile to include isync-snapshot and use db53
---
mail/isync/Portfile | 46 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 11 deletions(-)
diff --git a/mail/isync/Portfile b/mail/isync/Portfile
index 5a08839..b76aa59 100644
a
|
b
|
|
| 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 |
1 | 2 | # $Id: Portfile 95119 2012-07-05 21:01:06Z mww@macports.org $ |
2 | 3 | |
3 | 4 | PortSystem 1.0 |
4 | 5 | |
5 | 6 | name isync |
6 | | version 1.0.4 |
7 | 7 | revision 1 |
8 | 8 | categories mail |
9 | 9 | platforms darwin |
… |
… |
long_description isync is a command line utility for synchronizing a \ |
18 | 18 | on a laptop. Modifications made locally and remotely are \ |
19 | 19 | synchronized so that no message status flags are lost. |
20 | 20 | |
21 | | master_sites sourceforge |
| 21 | if {${subport} == ${name}} { |
22 | 22 | |
23 | | checksums md5 8a836a6f4b43cd38a8b8153048417616 \ |
24 | | sha1 a327cc5b81946c7ccb3a26ddd971933e2e006ed3 \ |
25 | | rmd160 23475533ff9848c38b95911eae6191ca03132185 |
| 23 | version 1.0.5 |
| 24 | master_sites sourceforge |
| 25 | conflicts isync-snapshot |
| 26 | checksums md5 6a47b0b620ef61d4158e4f1b968ffb0f \ |
| 27 | sha1 9d19cde13b644d6e394f06d292b60503396d0500 \ |
| 28 | rmd160 180607a0633108ad59ea5a51d15b1f3c74b56a9a |
26 | 29 | |
27 | | depends_lib port:db46 port:openssl port:zlib |
| 30 | post-patch { |
| 31 | reinplace "s|ldb|ldb-5.3|g" \ |
| 32 | ${worksrcpath}/src/compat/Makefile.in \ |
| 33 | ${worksrcpath}/src/Makefile.in |
| 34 | } |
| 35 | |
| 36 | } |
| 37 | |
| 38 | subport isync-snapshot { |
| 39 | |
| 40 | version git-master-20121016 |
| 41 | fetch.type git |
| 42 | git.url git://isync.git.sourceforge.net/gitroot/isync/isync |
| 43 | git.branch 45b11c63a503dd53674ead6f8617af61e7563b78 |
| 44 | conflicts isync |
| 45 | livecheck.type none |
| 46 | |
| 47 | pre-configure { |
| 48 | system "cd ${worksrcpath} && touch ChangeLog && ./autogen.sh" |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | depends_lib port:db53 port:openssl port:zlib |
| 53 | depends_build port:p5-timedate |
28 | 54 | |
29 | 55 | post-patch { |
30 | | reinplace "s|ldb|ldb-4|g" \ |
31 | | ${worksrcpath}/src/compat/Makefile.in \ |
| 56 | reinplace "s|ldb|ldb-5.3|g" \ |
32 | 57 | ${worksrcpath}/src/compat/Makefile.am \ |
33 | | ${worksrcpath}/src/Makefile.in \ |
34 | 58 | ${worksrcpath}/src/Makefile.am |
35 | 59 | } |
36 | 60 | |
37 | 61 | configure.args --mandir=${prefix}/share/man |
38 | | configure.cppflags-append -I${prefix}/include/db46 |
39 | | configure.ldflags-append -L${prefix}/lib/db46 -ldb-4 |
| 62 | configure.cppflags-append -I${prefix}/include/db53 |
| 63 | configure.ldflags-append -L${prefix}/lib/db53 |