summaryrefslogtreecommitdiffstats
path: root/graphics/exiv2/Makefile
blob: 00fdcce7f657066a8c5854b1c703a3659e5a8b17 (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
41
42
43
44
# New ports collection makefile for:	exiv2
# Date created:		2004-09-24
# Whom:			Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=	exiv2
PORTVERSION=	0.5
CATEGORIES=	graphics
MASTER_SITES=	http://home.arcor.de/ahuggel/exiv2/

MAINTAINER=	ahze@ahze.net
COMMENT=	Exif and Iptc metadata manipulation library and tools

.if defined(PORTDOCS)
BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
.endif

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes

PORTDOCS=	*
PLIST_FILES=	bin/exiv2 \
		lib/libexiv2.so

.if defined(PORTDOCS)
ALLTARGET=	all doc
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
USE_GCC=	3.4
.endif

post-install:
.if defined(PORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud