source: trunk/dports/www/mod_gnutls/Portfile @ 87969

Last change on this file since 87969 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem          1.0
4name                mod_gnutls
5version             0.4.3
6categories          www security crypto
7maintainers         nomaintainer
8description         SSL/TLS support for Apache using GnuTLS
9long_description \
10   mod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0 and \
11   TLS 1.1 encryption for Apache HTTPD. It is similar to mod_ssl in \
12   purpose, but does not use OpenSSL.
13
14platforms           darwin
15
16homepage            http://www.outoforder.cc/projects/apache/mod_gnutls/
17master_sites        http://www.outoforder.cc/downloads/mod_gnutls/
18use_bzip2           yes
19
20checksums           md5     16ddeeabbdb74cef9eb2f2a1334c2550 \
21                    sha1    b9c09f70489f965b3cc89bbc980f48d8fcd02d54 \
22                    rmd160  c60966baa015d7341d2e71287c1c3bc767f3459a
23
24depends_lib         port:apache2 port:gnutls
25
26patchfiles          patch-include_mod_gnutls.h.in.diff \
27                    patch-src_Makefile.in.diff
28
29configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
30                    --with-libgnutls-prefix=${prefix}
31
32destroot.violate_mtree yes
33pre-destroot {
34   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
35}
36
37post-destroot {
38   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39   xinstall -m 644 -W ${worksrcpath} LICENSE NEWS NOTICE README README.ENV \
40      ${destroot}${prefix}/share/doc/${name}
41}
42
43post-activate {
44   ui_msg "To enable ${name}, add"
45   ui_msg "   LoadModule gnutls_module modules/mod_gnutls.so"
46   ui_msg "to your ${prefix}/apache2/conf/httpd.conf file."
47   ui_msg "Please read the documentation at"
48   ui_msg "   http://www.outoforder.cc/projects/apache/mod_gnutls/docs/"
49   ui_msg " for further details on configuration of this module"
50
51}
52
53variant memcache description {Distributed SSL Session Cache support} {
54   depends_lib-append      port:apr_memcache
55   configure.args-append   --with-apr-memcache-prefix=${prefix}
56}
57
58livecheck.type      regex
59livecheck.url       ${master_sites}
60# In version X.Y.Z, when Y is even it is stable, odd is devel
61livecheck.regex     ${name}-(\\d\.\[02468\]\.\\d)
62
Note: See TracBrowser for help on using the repository browser.