1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/graphics/libopenraw/Makefile
Guido Falsi 6d44589f23 - Convert to staging
- Convert LIB_DEPENDS to new format
- Use option helpers
2013-10-10 00:17:27 +00:00

36 lines
870 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= libopenraw
PORTVERSION= 0.0.8
PORTREVISION= 5
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= pkgconfig
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=gtk20
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>