2012-04-23 13:15:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2012/04/23 17:15:18 espie 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
|
2011-12-09 15:11:00 -05:00
|
|
|
DISTNAME= darktable-0.9.3
|
2012-04-23 13:15:17 -04:00
|
|
|
REVISION = 0
|
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
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
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
|
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 png pthread rsvg-2 sqlite3
|
|
|
|
WANTLIB += stdc++ tiff xml2 z
|
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 \
|
|
|
|
devel/gconf2 \
|
2010-09-17 17:37:18 -04:00
|
|
|
devel/gettext \
|
|
|
|
textproc/intltool
|
|
|
|
|
2011-12-03 15:30:09 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
|
|
x11/gtk+2,-guic
|
2012-04-23 13:15:17 -04:00
|
|
|
LIB_DEPENDS= devel/sdl \
|
2011-10-28 17:58:16 -04:00
|
|
|
graphics/exiv2>=0.22 \
|
2011-12-09 15:11:00 -05:00
|
|
|
graphics/lcms2 \
|
2010-11-17 03:05:12 -05:00
|
|
|
graphics/libgphoto2 \
|
|
|
|
graphics/lensfun \
|
|
|
|
graphics/openexr \
|
|
|
|
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
|
2010-09-17 17:37:18 -04:00
|
|
|
USE_LIBTOOL= 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
|
|
|
|
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release
|
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>
|