# -*- 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
# $Id$

PortSystem          1.0

name                osslsigncode
version             1.7.1
revision            3
categories          devel security
maintainers         nomaintainer
license             GPL-3

description         OpenSSL-based signcode utility

long_description    Platform-independent tool for Authenticode signing of \
                    PE(EXE/SYS/DLL/etc), CAB and MSI files - uses OpenSSL \
                    and libcurl. It also supports timestamping (Authenticode \
                    and RFC3161).

homepage            https://sourceforge.net/projects/osslsigncode/
platforms           darwin
master_sites        sourceforge:project/osslsigncode/osslsigncode/

checksums           md5     ac5655b9281b692423ecb2e9185f09d7 \
                    sha1    42f847bf4753f3435c746f5be12de37e6b1a57b1

configure.args      --with-curl \
                    --with-gsf

# autoheader (from autoconf) is used during the build phase

depends_build       port:pkgconfig \
                    port:autoconf

depends_lib         port:curl \
                    port:libgsf \
                    path:lib/libssl.dylib:openssl

livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}