2013-03-21 04:45:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2013/03/21 08:45:18 ajacoutot Exp $
|
2003-06-15 11:59:40 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= digital camera frontend
|
2003-06-15 11:59:40 -04:00
|
|
|
|
2013-01-19 06:22:49 -05:00
|
|
|
DISTNAME= gtkam-0.2.0
|
2009-12-22 11:06:40 -05:00
|
|
|
|
2003-06-15 11:59:40 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://gphoto.sourceforge.net/proj/gtkam/
|
|
|
|
|
2008-06-18 07:44:28 -04:00
|
|
|
# GPLv2
|
2003-06-15 11:59:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2007-10-22 16:36:15 -04:00
|
|
|
|
2011-11-13 12:16:26 -05:00
|
|
|
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
|
|
WANTLIB += Xrandr Xrender atk-1.0 c cairo exif exif-gtk expat
|
|
|
|
WANTLIB += ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gphoto2 gphoto2_port
|
2013-01-19 06:22:49 -05:00
|
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz icudata icule icuuc
|
|
|
|
WANTLIB += ltdl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
|
|
|
WANTLIB += png pthread pthread-stubs xcb xcb-render xcb-shm z
|
2003-06-15 11:59:40 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
|
|
|
|
2013-01-19 06:22:49 -05:00
|
|
|
LIB_DEPENDS= graphics/libgphoto2>=2.5.0 \
|
2010-11-17 03:05:12 -05:00
|
|
|
x11/gtk+2 \
|
|
|
|
graphics/libexif-gtk
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2003-06-15 11:59:40 -04:00
|
|
|
|
2010-04-24 04:41:24 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
textproc/intltool
|
2003-06-15 11:59:40 -04:00
|
|
|
|
2010-10-18 14:13:12 -04:00
|
|
|
USE_GROFF = Yes
|
2011-04-06 09:56:52 -04:00
|
|
|
USE_GMAKE = Yes
|
2003-06-15 11:59:40 -04:00
|
|
|
|
2011-11-13 12:16:26 -05:00
|
|
|
MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
|
|
|
|
|
2003-06-15 11:59:40 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2007-10-22 16:36:15 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2008-06-18 07:44:28 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
2011-04-06 09:56:52 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
|
|
|
|
# minimal: don't include any GNOME dependency
|
|
|
|
CONFIGURE_ARGS +=--with-gnome=no \
|
2007-10-22 16:36:15 -04:00
|
|
|
--with-gimp=no \
|
|
|
|
--with-bonobo=no \
|
|
|
|
--disable-scrollkeeper
|
|
|
|
|
2003-06-15 11:59:40 -04:00
|
|
|
.include <bsd.port.mk>
|