From d20e22b19f0493c822434dde64443d9c0fe50277 Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Fri, 3 Aug 2012 02:21:37 +0000 Subject: Update to 4.2.1 PR: ports/170257 Submitted by: Joris Vandalon (maintainer) --- archivers/libunrar4/Makefile | 6 ++-- archivers/libunrar4/distinfo | 4 +-- archivers/libunrar4/files/patch-makefile.unix | 44 --------------------------- archivers/libunrar4/pkg-plist | 2 +- 4 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 archivers/libunrar4/files/patch-makefile.unix (limited to 'archivers') diff --git a/archivers/libunrar4/Makefile b/archivers/libunrar4/Makefile index 6a52b9b0b22f..568dd5f55e2f 100644 --- a/archivers/libunrar4/Makefile +++ b/archivers/libunrar4/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libunrar4 -PORTVERSION= 4.0.7 +PORTVERSION= 4.2.4 CATEGORIES= archivers MASTER_SITES= http://www.rarlab.com/rar/ DISTNAME= unrarsrc-${PORTVERSION} @@ -22,8 +22,8 @@ ALL_TARGET= lib USE_LDCONFIG= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so.3 ${PREFIX}/lib/ - cd ${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so + ${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so ${PREFIX}/lib/libunrar.so.4 + cd ${PREFIX}/lib && ${LN} -sf libunrar.so.4 libunrar.so ${MKDIR} ${PREFIX}/include/libunrar4 ${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar4/dll.hpp diff --git a/archivers/libunrar4/distinfo b/archivers/libunrar4/distinfo index 7281ecbec499..550d5fcc8997 100644 --- a/archivers/libunrar4/distinfo +++ b/archivers/libunrar4/distinfo @@ -1,2 +1,2 @@ -SHA256 (unrarsrc-4.0.7.tar.gz) = eac9ed7493870ca7f67b23e9208aef1db701c381123ac462e97f703777a33071 -SIZE (unrarsrc-4.0.7.tar.gz) = 152853 +SHA256 (unrarsrc-4.2.4.tar.gz) = 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686 +SIZE (unrarsrc-4.2.4.tar.gz) = 164641 diff --git a/archivers/libunrar4/files/patch-makefile.unix b/archivers/libunrar4/files/patch-makefile.unix deleted file mode 100644 index 436368432457..000000000000 --- a/archivers/libunrar4/files/patch-makefile.unix +++ /dev/null @@ -1,44 +0,0 @@ ---- makefile.unix.orig 2008-10-09 15:43:06.000000000 +0200 -+++ makefile.unix 2008-11-06 01:43:52.000000000 +0100 -@@ -7,10 +7,11 @@ - - # Linux using GCC - #CXX=g++ --#CXXFLAGS=-O2 --DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -+CXXFLAGS=$(CFLAGS) -fPIC -DPIC -+DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DGUI -DSILENT - STRIP=strip - DESTDIR=/usr -+RANLIB=ranlib - - # Linux using LCC - #CXX=lcc -@@ -100,7 +101,7 @@ - WHAT=UNRAR - - UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o --LIB_OBJ=filestr.o scantree.o dll.o -+LIB_OBJ=dll.o - - OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savepos.o global.o file.o filefn.o filcreat.o \ - archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o \ -@@ -131,9 +132,15 @@ - $(STRIP) default.sfx - - lib: WHAT=RARDLL --lib: $(OBJECTS) $(LIB_OBJ) -- @rm -f libunrar.so -- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) -+lib: $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ) -+ @rm -f libunrar.so.3 -+ $(LINK) -shared -o libunrar.so.3 $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ) -+ -+liba: WHAT=RARDLL -+liba: $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ) -+ @rm -f libunrar.a -+ $(AR) rc libunrar.a $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ) -+ $(RANLIB) libunrar.a - - install-unrar: - install unrar $(DESTDIR)/bin diff --git a/archivers/libunrar4/pkg-plist b/archivers/libunrar4/pkg-plist index d382068a8fbf..eb1e7a1ed024 100644 --- a/archivers/libunrar4/pkg-plist +++ b/archivers/libunrar4/pkg-plist @@ -1,4 +1,4 @@ lib/libunrar.so -lib/libunrar.so.3 +lib/libunrar.so.4 include/libunrar4/dll.hpp @dirrm include/libunrar4 -- cgit v1.2.3