freebsd-ports/graphics/libopenraw/Makefile
Tijl Coosemans 2a411fb2c8 - Update libopenraw to 0.0.9.
- Fix build on FreeBSD 8.x by adding compiler:c++11-lang.
  (Use same compiler/linker as Boost.) [1]
- Chase library version change.
- Consistently use OPENRAW as option name.

PR:		ports/186779 [1]
2014-03-19 19:26:59 +00:00

34 lines
904 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= libopenraw
PORTVERSION= 0.0.9
CATEGORIES= graphics
MASTER_SITES= http://libopenraw.freedesktop.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for camera RAW files decoding
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= compiler:c++11-lang libtool pkgconfig tar:bzip2
USE_GNOME= libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include
OPTIONS_DEFINE= GNOME
OPTIONS_DEFAULT= GNOME
OPTIONS_SUB= yes
GNOME_CONFIGURE_ENABLE= gnome
GNOME_USE= GNOME=glib20,gdkpixbuf2
post-patch:
@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>