aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libexif/Makefile
blob: 0dd68ddf8a883e39b50de0f87bfd42c18c56e389 (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
# New ports collection makefile for:    libexif
# Date created:        Tue Feb 26 19:02:44 MST 2002
# Whom:                Peter Schmiedeskamp
#
# $FreeBSD$
#

PORTNAME=   libexif
PORTVERSION=    0.6.14
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT=    Library to read digital camera file meta-data

USE_BZIP2=  yes
USE_GNOME=  gnomehack gnometarget pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"
USE_LDCONFIG=   yes

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure

.include <bsd.port.mk>