[88906] trunk/dports/www/mod_gnutls/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 18:40:32 PST 2012


Revision: 88906
          http://trac.macports.org/changeset/88906
Author:   ryandesign at macports.org
Date:     2012-01-14 18:40:30 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
mod_gnutls: fix whitespace; add modeline

Modified Paths:
--------------
    trunk/dports/www/mod_gnutls/Portfile

Modified: trunk/dports/www/mod_gnutls/Portfile
===================================================================
--- trunk/dports/www/mod_gnutls/Portfile	2012-01-15 02:17:06 UTC (rev 88905)
+++ trunk/dports/www/mod_gnutls/Portfile	2012-01-15 02:40:30 UTC (rev 88906)
@@ -1,17 +1,19 @@
+# -*- 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                mod_gnutls
 version             0.4.3
 categories          www security crypto
+platforms           darwin
 maintainers         nomaintainer
+
 description         SSL/TLS support for Apache using GnuTLS
-long_description \
-   mod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0 and \
-   TLS 1.1 encryption for Apache HTTPD. It is similar to mod_ssl in \
-   purpose, but does not use OpenSSL.
 
-platforms           darwin
+long_description    mod_gnutls uses the GnuTLS library to provide SSL 3.0, \
+                    TLS 1.0 and TLS 1.1 encryption for Apache HTTPD. It is \
+                    similar to mod_ssl in purpose, but does not use OpenSSL.
 
 homepage            http://www.outoforder.cc/projects/apache/mod_gnutls/
 master_sites        http://www.outoforder.cc/downloads/mod_gnutls/
@@ -21,7 +23,8 @@
                     sha1    b9c09f70489f965b3cc89bbc980f48d8fcd02d54 \
                     rmd160  c60966baa015d7341d2e71287c1c3bc767f3459a
 
-depends_lib         port:apache2 port:gnutls
+depends_lib         port:apache2 \
+                    port:gnutls
 
 patchfiles          patch-include_mod_gnutls.h.in.diff \
                     patch-src_Makefile.in.diff
@@ -31,32 +34,30 @@
 
 destroot.violate_mtree yes
 pre-destroot {
-   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
+    xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
 }
 
 post-destroot {
-   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-   xinstall -m 644 -W ${worksrcpath} LICENSE NEWS NOTICE README README.ENV \
-      ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} LICENSE NEWS NOTICE README README.ENV \
+        ${destroot}${prefix}/share/doc/${name}
 }
 
 post-activate {
-   ui_msg "To enable ${name}, add"
-   ui_msg "   LoadModule gnutls_module modules/mod_gnutls.so"
-   ui_msg "to your ${prefix}/apache2/conf/httpd.conf file."
-   ui_msg "Please read the documentation at"
-   ui_msg "   http://www.outoforder.cc/projects/apache/mod_gnutls/docs/"
-   ui_msg " for further details on configuration of this module"
-
+    ui_msg "To enable ${name}, add"
+    ui_msg "   LoadModule gnutls_module modules/mod_gnutls.so"
+    ui_msg "to your ${prefix}/apache2/conf/httpd.conf file."
+    ui_msg "Please read the documentation at"
+    ui_msg "   http://www.outoforder.cc/projects/apache/mod_gnutls/docs/"
+    ui_msg " for further details on configuration of this module"
 }
 
 variant memcache description {Distributed SSL Session Cache support} {
-   depends_lib-append      port:apr_memcache
-   configure.args-append   --with-apr-memcache-prefix=${prefix}
+    depends_lib-append      port:apr_memcache
+    configure.args-append   --with-apr-memcache-prefix=${prefix}
 }
 
 livecheck.type      regex
 livecheck.url       ${master_sites}
 # In version X.Y.Z, when Y is even it is stable, odd is devel
 livecheck.regex     ${name}-(\\d\.\[02468\]\.\\d)
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/350361a4/attachment.html>


More information about the macports-changes mailing list