mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
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.20
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= marius@nuenneri.ch
|
|
COMMENT= Library to read digital camera file meta-data
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehack ltverhack pkgconfig
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --disable-docs
|
|
USE_LDCONFIG= yes
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ENV+= am_cv_func_iconv=no
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \
|
|
/^am__installdirs =/s|$$(docdir)||g ; \
|
|
/^install-data-am:/s|install-docDATA||g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS ChangeLog NEWS README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|