diff options
author | drochner <drochner@pkgsrc.org> | 2009-07-07 10:07:45 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-07-07 10:07:45 +0000 |
commit | 6b427dc623020c714752117ea88c7f1e4cd01fb5 (patch) | |
tree | ad213f923071f0bf54733b548046a263a3766ef0 /graphics | |
parent | 2b4db6d5a94ec8ddfb47c8e147601e1520797ca9 (diff) | |
download | pkgsrc-6b427dc623020c714752117ea88c7f1e4cd01fb5.tar.gz |
add the "organize" tool which comes with exiv2>=0.18.1,
as "exiv2-organize" to avoid namespace pollution
This can sort pictures into directory trees using metadata
as file/directory names.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/exiv2-organize/DESCR | 2 | ||||
-rw-r--r-- | graphics/exiv2-organize/Makefile | 39 | ||||
-rw-r--r-- | graphics/exiv2-organize/PLIST | 2 | ||||
-rw-r--r-- | graphics/exiv2-organize/distinfo | 6 | ||||
-rw-r--r-- | graphics/exiv2-organize/patches/patch-aa | 10 |
5 files changed, 59 insertions, 0 deletions
diff --git a/graphics/exiv2-organize/DESCR b/graphics/exiv2-organize/DESCR new file mode 100644 index 00000000000..e9e9b01f5d7 --- /dev/null +++ b/graphics/exiv2-organize/DESCR @@ -0,0 +1,2 @@ +Exiv2 comprises a C++ library and a command line utility to access +image metadata (EXIF, IPTC, MakerNotes). diff --git a/graphics/exiv2-organize/Makefile b/graphics/exiv2-organize/Makefile new file mode 100644 index 00000000000..5201f0e3065 --- /dev/null +++ b/graphics/exiv2-organize/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/07 10:07:45 drochner Exp $ +# + +DISTNAME= exiv2-0.18.2 +PKGNAME= exiv2-organize-0.18.2 +CATEGORIES= graphics +MASTER_SITES= http://www.exiv2.org/ + +MAINTAINER= gdt@NetBSD.org +HOMEPAGE= http://www.exiv2.org/ +COMMENT= Image metadata manipulation +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ +GCC_REQD+= 3.3 + +USE_TOOLS+= gmake pkg-config +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +# The visibility feature seems complicated and causes problems on DragonFly +# (reported by Matt Madden) and on Gentoo (http://bugs.gentoo.org/185907). +CONFIGURE_ARGS+= --disable-visibility + +do-build: + (cd ${WRKSRC}/contrib/organize && ${MAKE_ENV} ${GMAKE}) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/contrib/organize/organize \ + ${DESTDIR}${PREFIX}/bin/exiv2-organize + +BUILDLINK_API_DEPENDS.exiv2+= exiv2>=0.18.1 +.include "../../graphics/exiv2/buildlink3.mk" +.include "../../devel/boost-headers/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../textproc/expat/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/exiv2-organize/PLIST b/graphics/exiv2-organize/PLIST new file mode 100644 index 00000000000..58b124b45fb --- /dev/null +++ b/graphics/exiv2-organize/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/07 10:07:45 drochner Exp $ +bin/exiv2-organize diff --git a/graphics/exiv2-organize/distinfo b/graphics/exiv2-organize/distinfo new file mode 100644 index 00000000000..15972771e2c --- /dev/null +++ b/graphics/exiv2-organize/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/07 10:07:45 drochner Exp $ + +SHA1 (exiv2-0.18.2.tar.gz) = 452c824a780843a568eeef68f30785ee4141b0a8 +RMD160 (exiv2-0.18.2.tar.gz) = 7ef2621b4fd76041157b247ad2744059ffa400af +Size (exiv2-0.18.2.tar.gz) = 2394263 bytes +SHA1 (patch-aa) = 83460eae8a50e1a3c07753e2c916974e40888d40 diff --git a/graphics/exiv2-organize/patches/patch-aa b/graphics/exiv2-organize/patches/patch-aa new file mode 100644 index 00000000000..490ca2d9469 --- /dev/null +++ b/graphics/exiv2-organize/patches/patch-aa @@ -0,0 +1,10 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/07 10:07:45 drochner Exp $ + +--- contrib/organize/boost.mk.orig 2009-06-24 22:01:01.000000000 +0200 ++++ contrib/organize/boost.mk +@@ -1,3 +1,3 @@ + # Boost configuration for organize - change paths and library names as needed +-BOOST_INC_DIR = /usr/local/include/boost-1_37 +-BOOST_LIBS = /usr/local/lib/libboost_system-gcc43-mt-1_37.a /usr/local/lib/libboost_filesystem-gcc43-mt-1_37.a /usr/local/lib/libboost_regex-gcc43-mt-1_37.a /usr/local/lib/libboost_program_options-gcc43-mt-1_37.a ++BOOST_INC_DIR = ${LOCALBASE}/include/boost ++BOOST_LIBS = ${LOCALBASE}/lib/libboost_system-mt.a ${LOCALBASE}/lib/libboost_filesystem-mt.a ${LOCALBASE}/lib/libboost_regex-mt.a ${LOCALBASE}/lib/libboost_program_options-mt.a |