Ticket #70889: Portfile

File Portfile, 2.4 KB (added by amolinas, 2 weeks ago)
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
3PortSystem          1.0
4PortGroup           conflicts_build 1.0
5
6name                oath-toolkit
7version             2.6.11
8revision            0
9categories          security devel
10platforms           darwin
11maintainers         {alum.wpi.edu:arno+macports @fracai} openmaintainer
12license             GPL-3
13
14description         The OATH Toolkit contains a shared library, command line \
15                    tool, and PAM module for one-time password authentication.
16
17long_description    The OATH Toolkit contains a shared library, command line \
18                    tool, and PAM module that makes it possible to build \
19                    one-time password authentication systems. Supported \
20                    technologies include the event-based HOTP algorithm and \
21                    the time-based TOTP algorithm. OATH is the Open \
22                    AuTHentication organization which specify the algorithms.
23
24homepage            http://oath-toolkit.nongnu.org/
25master_sites        savannah
26
27checksums           rmd160  a0800e12b028c9912a93713d83c357252026fb18 \
28                    sha256  fc512a4a5b46f4c43ab0586c3189fece4d54f7e649397d6fa1e23428431e2cb4 \
29                    size    4699215
30
31patch.pre_args-replace  -p0 -p1
32
33# Fix for 2.6.11-stdlib include missing in some files
34patchfiles-append   patch-2.6.11-include-stdlib.diff
35# Need to regenerate autotools scripts, due to previous patch; not needed for next release
36use_autoreconf      yes
37autoreconf.args     -fvi
38
39# This version of 'oath-toolkit' requires 'xmlsec-1.2'.
40# Once upstream releases support for xmlsec 1.3+, none of this will be needed.
41conflicts_build-append \
42                    xmlsec
43set xmlsec_lib      ${prefix}/lib/xmlsec-1.2/lib
44configure.pkg_config_path-prepend \
45                    ${xmlsec_lib}/pkgconfig
46
47depends_build-append \
48                    port:gtk-doc \
49                    port:pkgconfig
50
51depends_lib-append \
52                    port:libtool \
53                    port:libxml2 \
54                    port:libxslt \
55                    port:xmlsec-1.2
56
57configure.args-append \
58                    --disable-silent-rules
59
60livecheck.type      regex
61livecheck.url       https://download.savannah.gnu.org/releases/oath-toolkit/
62livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}