freebsd-ports/graphics/libexif/Makefile
Pav Lucistnik 573ad4e29d - Fix a braino which leads to crash in GIMP when opening JPEG pictures with
certain EXIF data, like those from SONY, Nikon or Canon digital cameras.

Obtained from:	libexif CVS, exif-data.c rev. 1.68
2005-04-13 21:12:51 +00:00

36 lines
818 B
Makefile

# 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.12
PORTREVISION= 1
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_GNOME= gnomehack gnometarget pkgconfig
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
INSTALLS_SHLIB= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.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>