summaryrefslogtreecommitdiff
path: root/graphics/exiv2-organize/Makefile
blob: 8c8d051e354219e8ca26e4d27ddccf9c6a6d7f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.2 2009/07/29 19:57:24 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
INSTALLATION_DIRS=	bin

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"