aboutsummaryrefslogtreecommitdiff
path: root/graphics/libopenraw
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-21 19:23:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-21 19:23:36 +0000
commitbb945c1889a432d3ed452c5cd7735739d5a271f6 (patch)
tree3f1edd133dff3b4587c771915d5396fa6b6f3b31 /graphics/libopenraw
parent2970fa7acde291a3de8bc8cfd869c80ee4051f0d (diff)
downloadports-bb945c1889a432d3ed452c5cd7735739d5a271f6.tar.gz
ports-bb945c1889a432d3ed452c5cd7735739d5a271f6.zip
Notes
Diffstat (limited to 'graphics/libopenraw')
-rw-r--r--graphics/libopenraw/Makefile39
-rw-r--r--graphics/libopenraw/distinfo3
-rw-r--r--graphics/libopenraw/files/patch-gnomeincludes12
-rw-r--r--graphics/libopenraw/pkg-descr6
-rw-r--r--graphics/libopenraw/pkg-plist20
5 files changed, 80 insertions, 0 deletions
diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile
new file mode 100644
index 000000000000..414aea32631c
--- /dev/null
+++ b/graphics/libopenraw/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libopenraw
+# Date created: 21 Mar 2007
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libopenraw
+PORTVERSION= 0.0.2
+CATEGORIES= graphics
+MASTER_SITES= http://libopenraw.freedesktop.org/download/
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Library for camera RAW files decoding
+
+LIB_DEPENDS= boost_thread.3:${PORTSDIR}/devel/boost \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
+USE_GNOME= #
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+OPTIONS= GNOME "GNOME support (needs gtk20)" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_GNOME)
+USE_GNOME= gtk20
+PLIST_SUB+= GNOME=""
+.else
+CONFIGURE_ARGS+=--disable-gnome
+PLIST_SUB+= GNOME="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/graphics/libopenraw/distinfo b/graphics/libopenraw/distinfo
new file mode 100644
index 000000000000..0845c63e082e
--- /dev/null
+++ b/graphics/libopenraw/distinfo
@@ -0,0 +1,3 @@
+MD5 (libopenraw-0.0.2.tar.gz) = eae40ecaa92f69d99b27ae3bad8aa8ae
+SHA256 (libopenraw-0.0.2.tar.gz) = 2c3f58a4dff1b74ad93da0468d8806207488134d51b2d81947932a1bca8553ae
+SIZE (libopenraw-0.0.2.tar.gz) = 388136
diff --git a/graphics/libopenraw/files/patch-gnomeincludes b/graphics/libopenraw/files/patch-gnomeincludes
new file mode 100644
index 000000000000..090acf8694fd
--- /dev/null
+++ b/graphics/libopenraw/files/patch-gnomeincludes
@@ -0,0 +1,12 @@
+--- gnome/include/libopenraw-gnome/Makefile.in.orig Tue Jan 9 00:28:06 2007
++++ gnome/include/libopenraw-gnome/Makefile.in Wed Mar 21 14:51:32 2007
+@@ -371,7 +371,8 @@
+
+ info-am:
+
+-install-data-am: install-libopenrawgnomeHEADERS
++@BUILD_GNOME_SUPPORT_TRUE@install-data-am: install-libopenrawgnomeHEADERS
++@BUILD_GNOME_SUPPORT_FALSE@install-data-am:
+
+ install-exec-am:
+
diff --git a/graphics/libopenraw/pkg-descr b/graphics/libopenraw/pkg-descr
new file mode 100644
index 000000000000..225b1a3300ad
--- /dev/null
+++ b/graphics/libopenraw/pkg-descr
@@ -0,0 +1,6 @@
+libopenraw is an ongoing project to provide a free software implementation for
+camera RAW files decoding. One of the main reason is that dcraw is not suited
+for easy integration into applications, and there is a need for an easy to use
+API to build free software digital image processing application.
+
+WWW: http://libopenraw.freedesktop.org/
diff --git a/graphics/libopenraw/pkg-plist b/graphics/libopenraw/pkg-plist
new file mode 100644
index 000000000000..06f00335eb24
--- /dev/null
+++ b/graphics/libopenraw/pkg-plist
@@ -0,0 +1,20 @@
+include/libopenraw-1.0/libopenraw/consts.h
+include/libopenraw-1.0/libopenraw/debug.h
+include/libopenraw-1.0/libopenraw/io.h
+include/libopenraw-1.0/libopenraw/libopenraw.h
+include/libopenraw-1.0/libopenraw/thumbnails.h
+include/libopenraw-1.0/libopenraw/types.h
+%%GNOME%%include/libopenraw-1.0/libopenraw-gnome/gdkpixbuf.h
+lib/libopenraw.a
+lib/libopenraw.la
+lib/libopenraw.so
+lib/libopenraw.so.1
+%%GNOME%%lib/libopenrawgnome.a
+%%GNOME%%lib/libopenrawgnome.la
+%%GNOME%%lib/libopenrawgnome.so
+%%GNOME%%lib/libopenrawgnome.so.1
+libdata/pkgconfig/libopenraw-1.0.pc
+%%GNOME%%libdata/pkgconfig/libopenraw-gnome-1.0.pc
+%%GNOME%%@dirrm include/libopenraw-1.0/libopenraw-gnome
+@dirrm include/libopenraw-1.0/libopenraw
+@dirrm include/libopenraw-1.0