source: trunk/dports/security/voms/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        italiangrid voms 2_0_9
8version             [strsed ${github.version} {g/_/./}]
9categories          security
10platforms           darwin
11maintainers         nikhef.nl:okoeroo
12license             Apache-2
13
14description         create a proxy with VOMS extensions
15
16long_description    The voms-proxy-init generates a proxy with the VOMS information included in a non-critical extension.
17
18checksums           rmd160  5d6f8ba7aba00173cb22149d7b867ec4684e7435 \
19                    sha256  aab51fab8ad4a89fb8dc68dcfc4e44a9eab0542bf437ec3bc330628830ba8633
20
21patchfiles          patch-automake-1.13.diff \
22                    patch-ipv6sock-posix.diff \
23                    patch-empty-replib.diff
24
25depends_build       port:autoconf \
26                    port:automake \
27                    port:libtool
28
29depends_lib         port:expat \
30                    path:lib/libssl.dylib:openssl
31
32pre-configure {
33    system -W ${worksrcpath} "./autogen.sh"
34}
35
36configure.args      --with-expat-prefix=${prefix} \
37                    --with-openssl-prefix=${prefix}
38
39# Fix build conflict with mongodb's ${prefix}/include/server.h
40configure.cppflags-delete -I${prefix}/include
41configure.cppflags-append -isystem${prefix}/include
42
43pre-test {
44    if {![file exists ${prefix}/bin/runtest]} {
45        ui_error "To test ${name}, you must first install the dejagnu port."
46        return -code error "dejagnu is not installed"
47    }
48}
49
50test.run            yes
51test.target         check
Note: See TracBrowser for help on using the repository browser.