2013-04-26 19:10:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2013/04/26 23:10:26 sthen Exp $
|
2011-12-22 10:20:10 -05:00
|
|
|
|
|
|
|
# requires SSE
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2010-09-17 17:37:18 -04:00
|
|
|
|
|
|
|
COMMENT= virtual lighttable and darkroom for photographers
|
2013-04-26 19:10:26 -04:00
|
|
|
DISTNAME= darktable-1.2
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2010-10-01 07:45:08 -04:00
|
|
|
|
2010-09-17 17:37:18 -04:00
|
|
|
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
|
2011-12-09 15:11:00 -05:00
|
|
|
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
|
2012-09-14 05:56:17 -04:00
|
|
|
|
|
|
|
WANTLIB += lensfun # dlopen'd. this is "Extra" in check-lib-depends; that's ok,
|
2010-09-17 17:37:18 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darktable/}
|
|
|
|
|
2011-12-09 15:11:00 -05:00
|
|
|
MODULES= devel/cmake \
|
2010-09-17 17:37:18 -04:00
|
|
|
devel/gettext \
|
|
|
|
textproc/intltool
|
|
|
|
|
2012-09-15 04:37:41 -04:00
|
|
|
BUILD_DEPENDS= sysutils/coreutils
|
2011-12-03 15:30:09 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
2013-03-09 06:18:14 -05:00
|
|
|
x11/gtk-engines2 \
|
2011-12-03 15:30:09 -05:00
|
|
|
x11/gtk+2,-guic
|
2013-03-09 06:18:14 -05:00
|
|
|
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 \
|
2011-12-09 15:11:00 -05:00
|
|
|
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 \
|
2011-12-09 15:11:00 -05:00
|
|
|
net/flickcurl \
|
|
|
|
x11/gnome/libgnome-keyring \
|
|
|
|
x11/gnome/librsvg \
|
|
|
|
x11/gtk+2
|
2010-09-17 17:37:18 -04:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2011-12-09 15:11:00 -05:00
|
|
|
USE_GROFF= Yes
|
2010-09-17 17:37:18 -04:00
|
|
|
|
2011-12-09 15:11:00 -05:00
|
|
|
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
|
2013-03-09 06:18:14 -05:00
|
|
|
CFLAGS+= -D_DEBUG
|
2010-09-17 17:37:18 -04:00
|
|
|
|
2011-12-09 15:11:00 -05:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/libpng
|
2010-09-17 17:37:18 -04:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2011-12-09 15:11:00 -05:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/lib && ln -s darktable/libdarktable.so
|
2010-09-17 17:37:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|