openbsd-ports/graphics/darktable/Makefile

72 lines
1.7 KiB
Makefile
Raw Normal View History

2013-04-26 19:10:26 -04:00
# $OpenBSD: Makefile,v 1.31 2013/04/26 23:10:26 sthen Exp $
# requires SSE
ONLY_FOR_ARCHS= i386 amd64
COMMENT= virtual lighttable and darkroom for photographers
2013-04-26 19:10:26 -04:00
DISTNAME= darktable-1.2
EXTRACT_SUFX= .tar.xz
SHARED_ONLY= Yes
CATEGORIES= graphics x11
HOMEPAGE= http://darktable.sourceforge.net/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
2013-04-26 19:10:26 -04:00
WANTLIB += GraphicsMagick
WANTLIB += GL GLU ICE Iex IlmImf IlmThread Imath SDL SM X11 Xext
WANTLIB += atk-1.0 c cairo curl exiv2 flickcurl freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-keyring
WANTLIB += gobject-2.0 gphoto2 gthread-2.0 gtk-x11-2.0 jpeg lcms2
2013-04-26 19:10:26 -04:00
WANTLIB += m openjpeg pango-1.0 pangocairo-1.0 png pthread rsvg-2
WANTLIB += sqlite3 stdc++ tiff xml2 z gphoto2_port soup-2.4 json-glib-1.0
WANTLIB += lensfun # dlopen'd. this is "Extra" in check-lib-depends; that's ok,
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darktable/}
MODULES= devel/cmake \
devel/gettext \
textproc/intltool
BUILD_DEPENDS= sysutils/coreutils
2011-12-03 15:30:09 -05:00
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk-engines2 \
2011-12-03 15:30:09 -05:00
x11/gtk+2,-guic
LIB_DEPENDS= devel/json-glib \
devel/libsoup \
devel/sdl \
2013-04-26 19:10:26 -04:00
graphics/GraphicsMagick \
2011-10-28 17:58:16 -04:00
graphics/exiv2>=0.22 \
graphics/lcms2 \
2013-01-19 06:22:37 -05:00
graphics/libgphoto2>=2.5.0 \
2010-11-17 03:05:12 -05:00
graphics/lensfun \
graphics/openexr \
2013-04-26 19:10:26 -04:00
graphics/openjpeg \
2010-11-17 03:05:12 -05:00
net/curl \
net/flickcurl \
x11/gnome/libgnome-keyring \
x11/gnome/librsvg \
x11/gtk+2
SEPARATE_BUILD= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= cmake
2012-09-14 05:50:18 -04:00
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release \
2013-04-26 19:10:26 -04:00
-DBINARY_PACKAGE_BUILD=1
CFLAGS+= -D_DEBUG
CPPFLAGS+= -I${LOCALBASE}/include/libpng
LDFLAGS+= -L${LOCALBASE}/lib
post-install:
cd ${PREFIX}/lib && ln -s darktable/libdarktable.so
.include <bsd.port.mk>