Index: head/graphics/libraw/Makefile =================================================================== --- head/graphics/libraw/Makefile (revision 264437) +++ head/graphics/libraw/Makefile (revision 264438) @@ -1,90 +1,90 @@ # New ports collection makefile for: raw images library # Date created: 26 Apr 2008 # Whom: osa # # $FreeBSD$ # PORTNAME= libraw -PORTVERSION= 0.10.0 +PORTVERSION= 0.11.2 CATEGORIES= graphics MASTER_SITES= http://www.libraw.su/data/ DISTNAME= LibRaw-${PORTVERSION} MAINTAINER= osa@FreeBSD.org COMMENT= Library for manipulating raw images LICENSE= LGPL21 CDDL LICENSE_COMB= dual OPTIONS= OPTIMIZED_CFLAGS "Enable optimization" off \ SHARED_LIBS "Install shared libraries" off .include LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ lcms.1:${PORTSDIR}/graphics/lcms .if defined(WITH_OPTIMIZED_CFLAGS) .if ${ARCH} == "i386" CFLAGS+= -O3 .endif .endif MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} .if defined(WITH_SHARED_LIBS) USE_LDCONFIG= yes PLIST_SUB+= SHAREDLIBS="" .else PLIST_SUB+= SHAREDLIBS="@comment " .endif PORTDOCS= API-C-eng.html API-C-rus.html API-CXX-eng.html API-CXX-rus.html \ API-datastruct-eng.html API-datastruct-rus.html API-notes-eng.html \ API-notes-rus.html API-overview-eng.html API-overview-rus.html \ Install-LibRaw-eng.html Install-LibRaw-rus.html \ Samples-LibRaw-eng.html Samples-LibRaw-rus.html \ Why-LibRaw-eng.html Why-LibRaw-rus.html corner-scheme.png \ index-eng.html index-rus.html index.html PORTEXAMPLES= 4channels.cpp dcraw_emu.cpp dcraw_half.c half_mt.c mem_image.cpp \ raw-identify.cpp simple_dcraw.cpp unprocessed_raw.cpp post-patch: @${REINPLACE_CMD} -i.bak -e 's|-pthread|${PTHREAD_LIBS}|' \ -e 's|gcc|${CC}|' \ -e 's|g++|${CXX}|' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${PREFIX}/include/libraw .for f in libraw.h libraw_alloc.h libraw_const.h libraw_datastream.h \ libraw_internal.h libraw_types.h libraw_version.h @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${f} ${PREFIX}/include/libraw .endfor .for f in libraw.a libraw_r.a @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib .endfor .if defined(WITH_SHARED_LIBS) .for f in libraw.so.0 libraw_r.so.0 @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib .endfor .for f in libraw libraw_r @ cd ${PREFIX}/lib ; ${LN} -sf ${f}.so.0 ${f}.so .endfor .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/samples/,} ${EXAMPLESDIR} .endif .include Property changes on: head/graphics/libraw/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property Index: head/graphics/libraw/distinfo =================================================================== --- head/graphics/libraw/distinfo (revision 264437) +++ head/graphics/libraw/distinfo (revision 264438) @@ -1,3 +1,2 @@ -MD5 (LibRaw-0.10.0.tar.gz) = 248456748c8310c99c3593bfa6bf71be -SHA256 (LibRaw-0.10.0.tar.gz) = e0d373a774723381bf5e27050d462513039f0bf0101b732fcbea00ce12600104 -SIZE (LibRaw-0.10.0.tar.gz) = 554095 +SHA256 (LibRaw-0.11.2.tar.gz) = a68de5f2ed09eaa2a8f754ecf6989d2ae4b83427aa6f8e1106d8817b872acb8f +SIZE (LibRaw-0.11.2.tar.gz) = 572267 Property changes on: head/graphics/libraw/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/graphics/libraw/files/patch-Makefile =================================================================== --- head/graphics/libraw/files/patch-Makefile (revision 264437) +++ head/graphics/libraw/files/patch-Makefile (revision 264438) @@ -1,34 +1,35 @@ ---- Makefile.orig Fri Nov 14 15:28:17 2008 -+++ Makefile Fri Nov 14 15:30:48 2008 +--- Makefile.orig 2010-03-28 22:12:12.000000000 +0400 ++++ Makefile 2010-11-12 04:17:16.000000000 +0300 @@ -1,6 +1,6 @@ - all: library all_samples +-all: library all_samples ++all: library -CFLAGS=-O4 -I. -w +CFLAGS+=-I. -w -fPIC # OpenMP support #CFLAGS=-O4 -I. -w -fopenmp @@ -13,7 +13,7 @@ DCRAW_LIB_OBJECTS=object/dcraw_common.o object/foveon.o object/libraw_cxx.o object/libraw_c_api.o DCRAW_LIB_MT_OBJECTS=object/dcraw_common_mt.o object/foveon_mt.o object/libraw_cxx_mt.o object/libraw_c_api_mt.o -library: lib/libraw.a lib/libraw_r.a +library: lib/libraw.a lib/libraw_r.a lib/libraw.so.0 lib/libraw_r.so.0 all_samples: bin/identify bin/simple_dcraw bin/dcraw_emu bin/dcraw_half bin/half_mt bin/mem_image @@ -75,6 +75,14 @@ rm -f lib/libraw_r.a ar crv lib/libraw_r.a ${DCRAW_LIB_MT_OBJECTS} ranlib lib/libraw_r.a + +lib/libraw.so.0: ${DCRAW_LIB_OBJECTS} + rm -f lib/libraw.so.0 + ${CC} ${CFLAGS} -shared -Wl,-soname,libraw.so.0 -o lib/libraw.so.0 ${DCRAW_LIB_OBJECTS} + +lib/libraw_r.so.0: ${DCRAW_LIB_MT_OBJECTS} + rm -f lib/libraw_r.so.0 + ${CC} ${CFLAGS} -shared -Wl,-soname,libraw_r.so.0 -o lib/libraw_r.so.0 ${DCRAW_LIB_MT_OBJECTS} object/dcraw_common_mt.o: internal/dcraw_common.cpp g++ -c -pthread ${LCMS_DEF} ${CFLAGS} -o object/dcraw_common_mt.o internal/dcraw_common.cpp Property changes on: head/graphics/libraw/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property