[84153] trunk/dports/devel/openssl/Portfile
mww at macports.org
mww at macports.org
Mon Sep 19 10:48:54 PDT 2011
Revision: 84153
http://trac.macports.org/changeset/84153
Author: mww at macports.org
Date: 2011-09-19 10:48:51 -0700 (Mon, 19 Sep 2011)
Log Message:
-----------
openssl: whitespace/ordering changes only
Modified Paths:
--------------
trunk/dports/devel/openssl/Portfile
Modified: trunk/dports/devel/openssl/Portfile
===================================================================
--- trunk/dports/devel/openssl/Portfile 2011-09-19 17:38:30 UTC (rev 84152)
+++ trunk/dports/devel/openssl/Portfile 2011-09-19 17:48:51 UTC (rev 84153)
@@ -3,99 +3,96 @@
PortSystem 1.0
PortGroup muniversal 1.0
-name openssl
-version 1.0.0e
-revision 1
-epoch 1
-platforms darwin freebsd
-categories devel security
-maintainers mww
-homepage http://www.openssl.org/
-license OpenSSL SSLeay
-description OpenSSL SSL/TLS cryptography library
+name openssl
+version 1.0.0e
+revision 1
+epoch 1
+platforms darwin
+categories devel security
+maintainers mww
+homepage http://www.openssl.org/
+license OpenSSL SSLeay
+description OpenSSL SSL/TLS cryptography library
long_description \
- The OpenSSL Project is a collaborative effort to develop a robust, \
- commercial-grade, full-featured, and Open Source toolkit implementing \
- the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security \
- (TLS v1) protocols as well as a full-strength general purpose \
- cryptography library.
+ The OpenSSL Project is a collaborative effort to develop a robust, \
+ commercial-grade, full-featured, and Open Source toolkit implementing \
+ the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security \
+ (TLS v1) protocols as well as a full-strength general purpose \
+ cryptography library.
-master_sites http://www.openssl.org/source/
-checksums md5 7040b89c4c58c7a1016c0dfa6e821c86 \
- sha1 235eb68e5a31b0f7a23bc05f52d7a39c596e2e69 \
- rmd160 f7b7c8146592bb0924f145b1e3382b5a1d9283e4 \
- sha256 e361dc2775733fb84de7b5bf7b504778b772869e8f7bfac0b28b935cbf7380f7
+master_sites http://www.openssl.org/source/
+checksums md5 7040b89c4c58c7a1016c0dfa6e821c86 \
+ sha1 235eb68e5a31b0f7a23bc05f52d7a39c596e2e69 \
+ rmd160 f7b7c8146592bb0924f145b1e3382b5a1d9283e4 \
+ sha256 e361dc2775733fb84de7b5bf7b504778b772869e8f7bfac0b28b935cbf7380f7
-depends_lib port:zlib
+depends_lib port:zlib
-platform darwin {
- patchfiles patch-Makefile.org.diff patch-crypto-Makefile.diff patch-bn_internal.pod.diff
+patchfiles patch-Makefile.org.diff patch-crypto-Makefile.diff patch-bn_internal.pod.diff
+post-patch {
+ # Ensure that the correct compiler is used
+ reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
+ # use SDK if necessary
+ if {${configure.sdkroot} != ""} {
+ reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
+ }
}
-configure.cmd ./config
-configure.args -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
-configure.ccache no
+configure.cmd ./config
+configure.args -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
+configure.ccache no
-variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {
- configure.args-append enable-rfc3779
-}
+use_parallel_build no
-use_parallel_build no
+destroot.destdir INSTALL_PREFIX=${destroot}
+destroot.args MANDIR=${prefix}/share/man MANSUFFIX=ssl
-destroot.destdir INSTALL_PREFIX=${destroot}
-destroot.args MANDIR=${prefix}/share/man MANSUFFIX=ssl
+# the test suite can only be run *after* destrooting
+test.run yes
+test.dir ${worksrcpath}/test
+test.target alltests
-test.run yes
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex ${name}-(\[0-9.\]+\[a-z\]?)\\.tar\\.gz
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex ${name}-(\[0-9.\]+\[a-z\]?)\\.tar\\.gz
-
-post-patch {
- # Ensure that the correct compiler is used
- reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
- # use SDK if necessary
- if {${configure.sdkroot} != ""} {
- reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
- }
+variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {
+ configure.args-append enable-rfc3779
}
+# code for universal build
array set merger_configure_args {
- ppc darwin-ppc-cc
- i386 darwin-i386-cc
- ppc64 darwin64-ppc-cc
- x86_64 darwin64-x86_64-cc
+ ppc darwin-ppc-cc
+ i386 darwin-i386-cc
+ ppc64 darwin64-ppc-cc
+ x86_64 darwin64-x86_64-cc
}
if { [variant_isset universal] } {
- configure.cmd ./Configure
+ configure.cmd ./Configure
- set merger_arch_compiler "no"
+ set merger_arch_compiler "no"
- configure.universal_args-delete --disable-dependency-tracking
- configure.args-delete --disable-dependency-tracking
+ configure.universal_args-delete --disable-dependency-tracking
+ configure.args-delete --disable-dependency-tracking
- pre-destroot {
- global merger_dont_diff
- if { [llength ${universal_archs_to_use}] > 2 } {
- lappend merger_dont_diff ${prefix}/include/openssl/opensslconf.h
- }
- }
+ pre-destroot {
+ global merger_dont_diff
+ if { [llength ${universal_archs_to_use}] > 2 } {
+ lappend merger_dont_diff ${prefix}/include/openssl/opensslconf.h
+ }
+ }
- # Do not set --host.
- array set merger_host {
- ppc ""
- i386 ""
- ppc64 ""
- x86_64 ""
- }
+ # Do not set --host.
+ array set merger_host {
+ ppc ""
+ i386 ""
+ ppc64 ""
+ x86_64 ""
+ }
} elseif {[info exists merger_configure_args($build_arch)]} {
configure.cmd ./Configure
configure.args-append $merger_configure_args($build_arch)
}
-# the test suite can only be run *after* destrooting
- test.run yes
- test.dir ${worksrcpath}/test
- test.target alltests
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110919/e50bd963/attachment.html>
More information about the macports-changes
mailing list