[129872] trunk/dports/archivers/pbzip2
ryandesign at macports.org
ryandesign at macports.org
Sun Dec 21 17:58:58 PST 2014
Revision: 129872
https://trac.macports.org/changeset/129872
Author: ryandesign at macports.org
Date: 2014-12-21 17:58:57 -0800 (Sun, 21 Dec 2014)
Log Message:
-----------
pbzip2: update to 1.1.12
Modified Paths:
--------------
trunk/dports/archivers/pbzip2/Portfile
trunk/dports/archivers/pbzip2/files/patch-Makefile.diff
Modified: trunk/dports/archivers/pbzip2/Portfile
===================================================================
--- trunk/dports/archivers/pbzip2/Portfile 2014-12-22 01:51:23 UTC (rev 129871)
+++ trunk/dports/archivers/pbzip2/Portfile 2014-12-22 01:58:57 UTC (rev 129872)
@@ -4,7 +4,7 @@
PortSystem 1.0
name pbzip2
-version 1.1.11
+version 1.1.12
set branch [join [lrange [split ${version} .] 0 1] .]
categories archivers
platforms darwin
@@ -21,8 +21,8 @@
homepage http://compression.ca/pbzip2/
master_sites https://launchpad.net/pbzip2/${branch}/${version}/+download/
-checksums rmd160 1ca41176a070697910fab02f76adde19422e0f2c \
- sha256 b4861389bd99c73d304a03b0dc0731a8a26905da8e94ca4cef873b96e1ab0e7f
+checksums rmd160 a0c4ce4953316b60e12d0237650b7e783e486395 \
+ sha256 573bb358a5a7d3bf5f42f881af324cedf960c786e8d66dd03d448ddd8a0166ee
depends_lib port:bzip2
@@ -39,14 +39,9 @@
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
}
-destroot.destdir PREFIX=${destroot}${prefix}
+destroot.args PREFIX=${prefix}
post-destroot {
- delete ${destroot}${prefix}/bin/pbunzip2
- delete ${destroot}${prefix}/bin/pbzcat
- ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
- ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
-
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
Modified: trunk/dports/archivers/pbzip2/files/patch-Makefile.diff
===================================================================
--- trunk/dports/archivers/pbzip2/files/patch-Makefile.diff 2014-12-22 01:51:23 UTC (rev 129871)
+++ trunk/dports/archivers/pbzip2/files/patch-Makefile.diff 2014-12-22 01:58:57 UTC (rev 129872)
@@ -1,5 +1,5 @@
---- Makefile.orig 2014-11-23 05:53:54.000000000 -0600
-+++ Makefile 2014-11-30 23:04:56.000000000 -0600
+--- Makefile.orig 2014-12-21 04:26:26.000000000 -0600
++++ Makefile 2014-12-21 19:54:36.000000000 -0600
@@ -16,8 +16,6 @@
LDLIBS_PTHREAD = -lpthread
@@ -18,22 +18,38 @@
# External libraries
-@@ -75,14 +71,14 @@
+@@ -60,6 +56,7 @@
+
+ # Where you want pbzip2 installed when you do 'make install'
+ PREFIX = /usr
++DESTDIR =
+
+
+ all: pbzip2
+@@ -74,16 +71,16 @@
+
# Install the binary pbzip2 program and man page
install: pbzip2
- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
-- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
-- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
-+ if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p $(PREFIX)/share/man ; fi
-+ if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p $(PREFIX)/share/man/man1 ; fi
- cp -f pbzip2 $(PREFIX)/bin/pbzip2
- chmod a+x $(PREFIX)/bin/pbzip2
- ln -s -f $(PREFIX)/bin/pbzip2 $(PREFIX)/bin/pbunzip2
- ln -s -f $(PREFIX)/bin/pbzip2 $(PREFIX)/bin/pbzcat
-- cp -f pbzip2.1 $(PREFIX)/man/man1
-- chmod a+r $(PREFIX)/man/man1/pbzip2.1
-+ cp -f pbzip2.1 $(PREFIX)/share/man/man1
-+ chmod a+r $(PREFIX)/share/man/man1/pbzip2.1
+- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
+- if ( test ! -d $(PREFIX)/share ) ; then mkdir -p $(PREFIX)/share ; fi
+- if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p $(PREFIX)/share/man ; fi
+- if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p $(PREFIX)/share/man/man1 ; fi
+- cp -f pbzip2 $(PREFIX)/bin/pbzip2
+- chmod a+x $(PREFIX)/bin/pbzip2
+- ln -s -f pbzip2 $(PREFIX)/bin/pbunzip2
+- ln -s -f pbzip2 $(PREFIX)/bin/pbzcat
+- cp -f pbzip2.1 $(PREFIX)/share/man/man1
+- chmod a+r $(PREFIX)/share/man/man1/pbzip2.1
++ if ( test ! -d $(DESTDIR)$(PREFIX)/bin ) ; then mkdir -p $(DESTDIR)$(PREFIX)/bin ; fi
++ if ( test ! -d $(DESTDIR)$(PREFIX)/share ) ; then mkdir -p $(DESTDIR)$(PREFIX)/share ; fi
++ if ( test ! -d $(DESTDIR)$(PREFIX)/share/man ) ; then mkdir -p $(DESTDIR)$(PREFIX)/share/man ; fi
++ if ( test ! -d $(DESTDIR)$(PREFIX)/share/man/man1 ) ; then mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 ; fi
++ cp -f pbzip2 $(DESTDIR)$(PREFIX)/bin/pbzip2
++ chmod a+x $(DESTDIR)$(PREFIX)/bin/pbzip2
++ ln -s -f pbzip2 $(DESTDIR)$(PREFIX)/bin/pbunzip2
++ ln -s -f pbzip2 $(DESTDIR)$(PREFIX)/bin/pbzcat
++ cp -f pbzip2.1 $(DESTDIR)$(PREFIX)/share/man/man1
++ chmod a+r $(DESTDIR)$(PREFIX)/share/man/man1/pbzip2.1
clean:
rm -f *.o pbzip2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141221/da247744/attachment.html>
More information about the macports-changes
mailing list