mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
37 lines
841 B
Makefile
37 lines
841 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.15
|
|
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_BZIP2= yes
|
|
USE_GNOME= gnomehack gnometarget pkgconfig ltverhack
|
|
USE_AUTOTOOLS= libtool:15
|
|
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>
|