summaryrefslogtreecommitdiff
path: root/graphics/exiv2-organize/Makefile
diff options
context:
space:
mode:
authordrochner <drochner>2009-07-07 10:07:45 +0000
committerdrochner <drochner>2009-07-07 10:07:45 +0000
commit731eccb4dd97b7fc8a3ded02fb4c35a8e2e32012 (patch)
treead213f923071f0bf54733b548046a263a3766ef0 /graphics/exiv2-organize/Makefile
parentbfdbc2b903e18c9f8283320a2242d69e2a20dd30 (diff)
downloadpkgsrc-731eccb4dd97b7fc8a3ded02fb4c35a8e2e32012.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/exiv2-organize/Makefile')
-rw-r--r--graphics/exiv2-organize/Makefile39
1 files changed, 39 insertions, 0 deletions
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"