freebsd-ports/graphics/libexif/Makefile

43 lines
956 B
Makefile
Raw Normal View History

# Created by: Peter Schmiedeskamp <pschmied@qwest.net>
# $FreeBSD$
PORTNAME= libexif
PORTVERSION= 0.6.21
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= marius@nuenneri.ch
COMMENT= Library to read digital camera file meta-data
LICENSE= LGPL21
2013-12-29 16:03:41 +01:00
OPTIONS_DEFINE= DOCS NLS
USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no
2014-03-25 22:43:51 +01:00
NLS_CONFIGURE_ENABLE= nls
2004-07-10 21:18:46 +02:00
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \
/^am__installdirs =/s|$$(docdir)||g ; \
/^install-data-am:/s|install-docDATA||g' ${WRKSRC}/Makefile.in
post-install:
2014-02-05 08:38:36 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
2014-02-05 08:38:36 +01:00
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>