aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gexiv2/Makefile
blob: d598f7544b9388b433d2124ea6836c43264f0c05 (plain) (blame)
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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gexiv2
PORTVERSION=    0.6.1
CATEGORIES= graphics
MASTER_SITES=   http://yorba.org/download/${PORTNAME}/${PORTVERSION:R}/
DISTNAME=   libgexiv2_${PORTVERSION}
WRKSRC=     ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}

MAINTAINER= lioux@FreeBSD.org
COMMENT=    GObject-based wrapper around Exiv2 library

LICENSE=    GPLv2

BUILD_DEPENDS=  libtool:${PORTSDIR}/devel/libtool \
        gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS=    exiv2:${PORTSDIR}/graphics/exiv2

USES=       pkgconfig
USE_XZ=     yes
USE_GNOME=  glib20
USE_GMAKE=  yes
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -E \
        -e 's|^([[:space:]]+)m4[[:space:]]|\1gm4 |' \
        -e 's|\$$\(LIB\)/pkgconfig|libdata/pkgconfig|' \
            ${WRKSRC}/${MAKEFILE}

pre-install:
    @${MKDIR} ${PREFIX}/share/vala/vapi

.include <bsd.port.mk>