source: trunk/dports/mail/pop3proxy/Portfile

Last change on this file was 79430, checked in by ryandesign@…, 6 years ago

pop3proxy: add universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 79430 2011-06-13 08:36:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pop3proxy
7version             2.0.0-beta8
8categories          mail
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2+
12
13description         application level gateway for the POP3 protocol
14
15long_description    pop3.proxy is an application level gateway for the POP3 \
16                    protocol. Unlike generic TCP proxys (like tcpproxy) it looks \
17                    into the data stream watching that client and server fullfill \
18                    the protocol specification. pop3.proxy is based on RFC 1939.
19
20homepage            http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/Pop3Proxy
21master_sites        http://quietsche-entchen.de/download/
22
23checksums           sha1    e3ad7b8a2d309ab9f68f1bc446d7e312245147eb \
24                    rmd160  b8265282ceb4ddb1967f91dc3402229589b21d21
25
26patchfiles          patch-clamav.c \
27                    patch-main.c \
28                    patch-makefile \
29                    patch-pop3.c \
30                    patch-procinfo.c
31
32use_configure       no
33
34variant universal {}
35if {[variant_isset universal]} {
36    set archflags ${configure.universal_cflags}
37} else {
38    set archflags ${configure.cc_archflags}
39}
40
41build.args          CC="${configure.cc} ${archflags}"
42
43destroot.destdir    prefix=${destroot}${prefix}
44
45post-destroot {
46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
47    xinstall -m 644 -W ${worksrcpath} rfc1939.txt README LICENSE \
48        ${destroot}${prefix}/share/doc/${name}
49}
50
51livecheck.type      regex
52livecheck.url       [lindex ${master_sites} 0]
53livecheck.regex     ${name}-(\[0-9a-z.- \]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.