summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libkdcraw')
-rw-r--r--graphics/libkdcraw/Makefile30
-rw-r--r--graphics/libkdcraw/distinfo3
-rw-r--r--graphics/libkdcraw/files/patch-configure11
-rw-r--r--graphics/libkdcraw/files/patch-libkdcraw_dcraw_Makefile.in11
-rw-r--r--graphics/libkdcraw/pkg-descr7
-rw-r--r--graphics/libkdcraw/pkg-plist19
6 files changed, 81 insertions, 0 deletions
diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile
new file mode 100644
index 000000000000..839faa1a96f4
--- /dev/null
+++ b/graphics/libkdcraw/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: libkdcraw
+# Date created: 22 June 2007
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= libkdcraw
+PORTVERSION= 0.1.1
+CATEGORIES= graphics devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= kipi
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= A C++ interface around a dcraw binary program
+
+LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
+
+USE_BZIP2= yes
+USE_KDELIBS_VER=3
+USE_GNOME= gnomehack pkgconfig
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
+INSTALLS_ICONS= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
diff --git a/graphics/libkdcraw/distinfo b/graphics/libkdcraw/distinfo
new file mode 100644
index 000000000000..b280b3168cf0
--- /dev/null
+++ b/graphics/libkdcraw/distinfo
@@ -0,0 +1,3 @@
+MD5 (libkdcraw-0.1.1.tar.bz2) = 46108744a7d8b0b9b0eaa9737c5e1fba
+SHA256 (libkdcraw-0.1.1.tar.bz2) = de95b38d44783100372f035bc2b35655067ce9d8fd38bdcbd5b936a807636485
+SIZE (libkdcraw-0.1.1.tar.bz2) = 548111
diff --git a/graphics/libkdcraw/files/patch-configure b/graphics/libkdcraw/files/patch-configure
new file mode 100644
index 000000000000..8bce9270e9e8
--- /dev/null
+++ b/graphics/libkdcraw/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Fri Jun 22 08:31:03 2007
++++ configure Fri Jun 22 08:31:27 2007
+@@ -33495,7 +33495,7 @@
+
+
+
+-KDCRAW_DIR="\$(libdir)/libkdcraw\$(ABI_MAJOR)"
++KDCRAW_DIR="\$(bindir)"
+
+
+ # -----------------------------------------------------------------
diff --git a/graphics/libkdcraw/files/patch-libkdcraw_dcraw_Makefile.in b/graphics/libkdcraw/files/patch-libkdcraw_dcraw_Makefile.in
new file mode 100644
index 000000000000..b9637c13b050
--- /dev/null
+++ b/graphics/libkdcraw/files/patch-libkdcraw_dcraw_Makefile.in
@@ -0,0 +1,11 @@
+--- libkdcraw/dcraw/Makefile.in.orig Fri Jun 22 08:39:06 2007
++++ libkdcraw/dcraw/Makefile.in Fri Jun 22 08:39:22 2007
+@@ -255,7 +255,7 @@
+ am__quote = @am__quote@
+ am__tar = @am__tar@
+ am__untar = @am__untar@
+-bindir = $(KDCRAW_DIR)
++bindir = @bindir@
+ build = @build@
+ build_alias = @build_alias@
+ build_cpu = @build_cpu@
diff --git a/graphics/libkdcraw/pkg-descr b/graphics/libkdcraw/pkg-descr
new file mode 100644
index 000000000000..f7ffe81d510c
--- /dev/null
+++ b/graphics/libkdcraw/pkg-descr
@@ -0,0 +1,7 @@
+libkdcraw is a C++ interface around a dcraw binary program
+used to decode RAW picture files.
+
+WWW: http://www.kipi-plugins.org/
+
+- Alex Dupre
+ale@FreeBSD.org
diff --git a/graphics/libkdcraw/pkg-plist b/graphics/libkdcraw/pkg-plist
new file mode 100644
index 000000000000..947a9b050208
--- /dev/null
+++ b/graphics/libkdcraw/pkg-plist
@@ -0,0 +1,19 @@
+bin/kdcraw
+include/libkdcraw/dcrawbinary.h
+include/libkdcraw/dcrawinfocontainer.h
+include/libkdcraw/dcrawsettingswidget.h
+include/libkdcraw/kdcraw.h
+include/libkdcraw/libkdcraw_export.h
+include/libkdcraw/rawdecodingsettings.h
+include/libkdcraw/rawfiles.h
+include/libkdcraw/version.h
+lib/libkdcraw.a
+lib/libkdcraw.la
+lib/libkdcraw.so
+lib/libkdcraw.so.1
+libdata/pkgconfig/libkdcraw.pc
+share/icons/hicolor/128x128/apps/kdcraw.png
+share/icons/hicolor/32x32/apps/kdcraw.png
+share/icons/hicolor/48x48/apps/kdcraw.png
+share/icons/hicolor/64x64/apps/kdcraw.png
+@dirrm include/libkdcraw