Ticket #70889: Portfile.2

File Portfile.2, 2.3 KB (added by yokuha, 8 days ago)

Portfile for 2.6.12

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.12
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  b1fb77b34fdf2459d0899a9fcb8e33f9b9485097 \
28                    sha256  cafdf739b1ec4b276441c6aedae6411434bbd870071f66154b909cc6e2d9e8ba \
29                    size    4706950
30
31patch.pre_args-replace  -p0 -p1
32
33# Need to regenerate autotools scripts, due to previous patch; not needed for next release
34use_autoreconf      yes
35autoreconf.args     -fvi
36
37# This version of 'oath-toolkit' requires 'xmlsec-1.2'.
38# Once upstream releases support for xmlsec 1.3+, none of this will be needed.
39conflicts_build-append \
40                    xmlsec
41set xmlsec_lib      ${prefix}/lib/xmlsec-1.2/lib
42configure.pkg_config_path-prepend \
43                    ${xmlsec_lib}/pkgconfig
44
45depends_build-append \
46                    port:gtk-doc \
47                    port:pkgconfig
48
49depends_lib-append \
50                    port:libtool \
51                    port:libxml2 \
52                    port:libxslt \
53                    port:xmlsec-1.2
54
55configure.args-append \
56                    --disable-silent-rules
57
58livecheck.type      regex
59livecheck.url       https://download.savannah.gnu.org/releases/oath-toolkit/
60livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}