# $OpenBSD: Makefile,v 1.18 2012/03/29 13:38:30 sthen Exp $ # requires SSE ONLY_FOR_ARCHS= i386 amd64 COMMENT= virtual lighttable and darkroom for photographers DISTNAME= darktable-0.9.3 SHARED_ONLY= Yes CATEGORIES= graphics x11 HOMEPAGE= http://darktable.sourceforge.net/ MAINTAINER= Stuart Henderson # GPLv3+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes 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 WANTLIB += m pango-1.0 pangocairo-1.0 png pthread rsvg-2 sqlite3 WANTLIB += stdc++ tiff xml2 z MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darktable/} MODULES= devel/cmake \ devel/gconf2 \ devel/gettext \ textproc/intltool RUN_DEPENDS= devel/desktop-file-utils \ x11/gtk+2,-guic LIB_DEPENDS= databases/sqlite3 \ devel/sdl \ graphics/exiv2>=0.22 \ graphics/lcms2 \ graphics/libgphoto2 \ graphics/lensfun \ graphics/openexr \ net/curl \ net/flickcurl \ x11/gnome/libgnome-keyring \ x11/gnome/librsvg \ x11/gtk+2 SEPARATE_BUILD= Yes USE_LIBTOOL= Yes USE_GROFF= Yes CONFIGURE_STYLE= cmake CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release CPPFLAGS+= -I${LOCALBASE}/include/libpng LDFLAGS+= -L${LOCALBASE}/lib post-install: cd ${PREFIX}/lib && ln -s darktable/libdarktable.so .include