openbsd-ports/x11/gnome/f-spot/Makefile

77 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2010/04/24 16:50:20 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= personal photo management application for GNOME
GNOME_VERSION= 0.6.1.5
GNOME_PROJECT= f-spot
PKGNAME= ${DISTNAME}p4
CATEGORIES= graphics
HOMEPAGE= http://www.f-spot.org/
# GPLv2
# gio-sharp: LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender art_lgpl_2 atk-1.0 avahi-client avahi-common
WANTLIB += avahi-glib bonobo-2 bonobo-activation bonoboui-2 cairo
WANTLIB += crypto dbus-1 dbus-glib-1 expat fontconfig freetype
WANTLIB += gailutil gc gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2
WANTLIB += gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png popt pthread-stubs ssl util xcb xml2 z
WANTLIB += eggdbus-1 gcrypt gpg-error xcb-render xcb-render-util
MODULES= devel/gettext \
lang/mono \
x11/gnome \
devel/gconf2
USE_X11= Yes
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
BUILD_DEPENDS= ${RUN_DEPENDS} \
::shells/bash \
::x11/gnome/screensaver
RUN_DEPENDS= ::graphics/libgphoto2 \
::x11/gnome/mono-gnome
LIB_DEPENDS+= exif::graphics/libexif \
lcms::graphics/lcms \
mono::lang/mono
MODGCONF2_SCHEMAS_DIR= f-spot
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-scrollkeeper \
--disable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DLLMAP_FILES= lib/dbus-sharp-glib/NDesk.DBus.GLib.dll.config \
lib/dbus-sharp-glib/NDesk.DBus.GLib.dll.config \
lib/gio-sharp/gio/gio-sharp.dll.config \
lib/gtk-sharp-beans/gtk-sharp-beans.dll.config \
lib/libgphoto2-sharp/libgphoto2-sharp.dll.config \
src/Cms.dll.config.in \
src/FSpot.Utils.dll.config \
src/FSpot.Widgets.dll.config.in \
src/f-spot.exe.config.in
pre-configure:
${SUBST_CMD} ${WRKSRC}/icon-theme-installer
.include <bsd.port.mk>