Mon Nov 15 18:59:38 2010 UTC ()
Import libraw 0.11.2 into the NetBSD Packages collection.

LibRaw is a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others).

LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future.
The users of the library are provided with API to be built into their
software programs.


Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(gls)
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/DESCR
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/Makefile
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/distinfo
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/PLIST
diff -r0 -r1.1.1.1 pkgsrc/graphics/libraw/files/raw.pc

File Added: pkgsrc/graphics/libraw/DESCR
LibRaw is a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others).

LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future.
The users of the library are provided with API to be built into their
software programs.

File Added: pkgsrc/graphics/libraw/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/11/15 18:59:38 gls Exp $
#

DISTNAME=		LibRaw-0.11.2
PKGNAME=		${DISTNAME:tl}
CATEGORIES=		graphics
MASTER_SITES=	http://www.libraw.org/data/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.libraw.org/
COMMENT=	Raw decoding/processing library
LICENSE=	gnu-lgpl-v2.1

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	c c++
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	-P ${PREFIX}

SUBST_CLASSES+=		pc
SUBST_STAGE.pc=		post-configure
SUBST_MESSAGE.pc=	Fixing prefix and version in raw.pc file.
SUBST_FILES.pc=		raw.pc
SUBST_SED.pc=		-e 's,@@PREFIX@@,${PREFIX},'
SUBST_SED.pc+=		-e 's,@@VERSION@@,${PKGVERSIONi_NOREV},'

INSTALLATION_DIRS+= lib/pkgconfig

pre-configure:
	${CP} ${FILESDIR}/raw.pc ${WRKSRC}

post-install:
	${INSTALL_DATA} ${WRKSRC}/raw.pc ${DESTDIR}${PREFIX}/lib/pkgconfig

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/graphics/libraw/distinfo
$NetBSD: distinfo,v 1.1.1.1 2010/11/15 18:59:38 gls Exp $

SHA1 (LibRaw-0.11.2.tar.gz) = a329c786a4b11aafd7f2210030a2557b5e4bb45d
RMD160 (LibRaw-0.11.2.tar.gz) = 4beb755de307108577e64fd71361959b9605df95
Size (LibRaw-0.11.2.tar.gz) = 572267 bytes

File Added: pkgsrc/graphics/libraw/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/11/15 18:59:38 gls Exp $

BUILDLINK_TREE+=	libraw

.if !defined(LIBRAW_BUILDLINK3_MK)
LIBRAW_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libraw+=	libraw>=0.10.0
BUILDLINK_PKGSRCDIR.libraw?=	../../graphics/libraw
.endif	# LIBRAW_BUILDLINK3_MK

BUILDLINK_TREE+=	-libraw

File Added: pkgsrc/graphics/libraw/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/15 18:59:38 gls Exp $
bin/4channels
bin/dcraw_emu
bin/dcraw_half
bin/half_mt
bin/mem_image
bin/raw-identify
bin/simple_dcraw
bin/unprocessed_raw
include/libraw/libraw.h
include/libraw/libraw_alloc.h
include/libraw/libraw_const.h
include/libraw/libraw_datastream.h
include/libraw/libraw_internal.h
include/libraw/libraw_types.h
include/libraw/libraw_version.h
lib/libraw.a
lib/libraw_r.a
lib/pkgconfig/raw.pc

File Added: pkgsrc/graphics/libraw/files/Attic/raw.pc
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: raw
Description: libraw
Version: @@VERSION@@
Libs: -Wl,-R${libdir} -L${libdir} -lraw
Cflags: -I${includedir}/libraw