freebsd-ports/graphics/libexif/Makefile
Dmitry Marakasov 3b0047b735 - Add CPE info
- Add LICENSE_FILE

Approved by:	portmgr blanket
2015-05-14 12:47:15 +00:00

44 lines
1,013 B
Makefile

# Created by: Peter Schmiedeskamp <pschmied@qwest.net>
# $FreeBSD$
PORTNAME= libexif
PORTVERSION= 0.6.21
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= marius@nuenneri.ch
COMMENT= Library to read digital camera file meta-data
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS NLS
USES= cpe gmake libtool pathfix pkgconfig tar:bzip2
CPE_VENDOR= curtis_galloway
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
NLS_CONFIGURE_ENABLE= nls
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>