aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libexif-gtk/Makefile
blob: e069aee8f3fbd4297f197c908c7c52835ccc1c3b (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
# New ports collection makefile for:    libexif-gtk
# Date created:     10 Jun 2002
# Whom:         ports@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   libexif-gtk
PORTVERSION=    0.3.2
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libexif

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    exif.8:${PORTSDIR}/graphics/libexif \
        gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20

USE_REINPLACE=  yes
USE_LIBTOOL=    yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'

.include <bsd.port.mk>