[70387] trunk/dports/archivers/bzip2/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 7 16:51:07 PDT 2010


Revision: 70387
          http://trac.macports.org/changeset/70387
Author:   ryandesign at macports.org
Date:     2010-08-07 16:51:05 -0700 (Sat, 07 Aug 2010)
Log Message:
-----------
bzip2: whitespace changes / reformatting only

Modified Paths:
--------------
    trunk/dports/archivers/bzip2/Portfile

Modified: trunk/dports/archivers/bzip2/Portfile
===================================================================
--- trunk/dports/archivers/bzip2/Portfile	2010-08-07 22:40:46 UTC (rev 70386)
+++ trunk/dports/archivers/bzip2/Portfile	2010-08-07 23:51:05 UTC (rev 70387)
@@ -9,44 +9,26 @@
 categories              archivers sysutils
 maintainers             ryandesign openmaintainer
 license                 BSD
-use_configure           no
-use_parallel_build      yes
-homepage                http://www.bzip.org/
-master_sites            ${homepage}${version}
 
-description \
-    compression library and tools
+description             compression library and tools
 
-long_description \
-    ${name} is a freely available, patent free, high-quality data \
-    compressor.
+long_description        ${name} is a freely available, patent free, \
+                        high-quality data compressor.
 
-checksums \
-    md5 3c15a0c8d1d3ee1c46a1634d00617b1a \
-    sha1 8b02713ea0c8eb501cc8bdac4432d7f29700f767 \
-    rmd160 2b31a22138e3914d82a656fee28e2bf029cbc3d4
+homepage                http://www.bzip.org/
+master_sites            ${homepage}${version}
 
-patchfiles \
-    patch-Makefile-man.diff \
-    patch-Makefile-links.diff \
-    patch-Makefile-so.diff
+checksums               md5     3c15a0c8d1d3ee1c46a1634d00617b1a \
+                        sha1    8b02713ea0c8eb501cc8bdac4432d7f29700f767 \
+                        rmd160  2b31a22138e3914d82a656fee28e2bf029cbc3d4
 
-platform darwin {
-    patchfiles-replace  s|patch-Makefile-so.diff|patch-Makefile-dylib.diff|
+patchfiles              patch-Makefile-man.diff \
+                        patch-Makefile-links.diff \
+                        patch-Makefile-so.diff
 
-    post-patch {
-    reinplace "s|__MacPorts_Version__|${version}|g" \
-        ${worksrcpath}/Makefile
-    reinplace "s|__MacPorts_Compatibility_Version__|[join [lrange [split ${version} .] 0 1] .]|g" \
-        ${worksrcpath}/Makefile
-    }
+use_configure           no
 
-    post-destroot {
-        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.[join [lrange [split ${version} .] 0 1] .].dylib
-        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.[join [lrange [split ${version} .] 0 0] .].dylib
-        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.dylib
-    }
-}
+use_parallel_build      yes
 
 variant universal {}
 pre-build {
@@ -60,3 +42,18 @@
 }
 
 destroot.destdir        PREFIX=${destroot}${prefix}
+
+platform darwin {
+    patchfiles-replace  s|patch-Makefile-so.diff|patch-Makefile-dylib.diff|
+
+    post-patch {
+        reinplace "s|__MacPorts_Version__|${version}|g" ${worksrcpath}/Makefile
+        reinplace "s|__MacPorts_Compatibility_Version__|[join [lrange [split ${version} .] 0 1] .]|g" ${worksrcpath}/Makefile
+    }
+
+    post-destroot {
+        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.[join [lrange [split ${version} .] 0 1] .].dylib
+        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.[join [lrange [split ${version} .] 0 0] .].dylib
+        ln -s libbz2.${version}.dylib ${destroot}${prefix}/lib/libbz2.dylib
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/3477d890/attachment.html>


More information about the macports-changes mailing list