[93780] trunk/dports/archivers/pbzip2/Portfile

ram at macports.org ram at macports.org
Wed May 30 22:11:12 PDT 2012


Revision: 93780
          https://trac.macports.org/changeset/93780
Author:   ram at macports.org
Date:     2012-05-30 22:11:10 -0700 (Wed, 30 May 2012)
Log Message:
-----------
archivers/pbzip2: fix pbunzip2 and pbzcat symlinks (#34573)

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

Modified: trunk/dports/archivers/pbzip2/Portfile
===================================================================
--- trunk/dports/archivers/pbzip2/Portfile	2012-05-31 04:50:05 UTC (rev 93779)
+++ trunk/dports/archivers/pbzip2/Portfile	2012-05-31 05:11:10 UTC (rev 93780)
@@ -4,6 +4,7 @@
 
 name              pbzip2
 version           1.1.6
+revision          1
 categories        archivers
 platforms         darwin
 maintainers       ram openmaintainer
@@ -19,9 +20,8 @@
 
 depends_lib       port:bzip2
 
-checksums         md5 26cc5a0d882198f106e75101ff0544a3 \
-                  sha1 3b4d0ffa3ac362c3702793cc5d9e61664d468aeb \
-                  rmd160 179b548c72f63555a6d51d9d3bd86e3ab002e6a6
+checksums         rmd160 179b548c72f63555a6d51d9d3bd86e3ab002e6a6 \
+                  sha256 86bd6d58e5a6c13cf8c709620ebfe186fca423c2724225bb30431fa7a453aee2
 
 set CFLAGS        "${configure.ldflags} ${configure.cppflags}"
 
@@ -33,6 +33,9 @@
 destroot.destdir  PREFIX=${destroot}${prefix}
 
 post-destroot {
+  delete ${destroot}${prefix}/bin/pbunzip2
+  delete ${destroot}${prefix}/bin/pbzcat
+  system "cd ${destroot}${prefix}/bin && ln -s pbzip2 pbunzip2 && ln -s pbzip2 pbzcat"
   set docdir ${prefix}/share/doc/${name}-${version}
   xinstall -d ${destroot}${docdir}
   xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120530/c7e06bc9/attachment-0001.html>


More information about the macports-changes mailing list