openbsd-ports/graphics/gtkam/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.34 2011/11/13 17:16:26 ajacoutot Exp $
COMMENT= digital camera frontend
DISTNAME= gtkam-0.1.18
CATEGORIES= graphics
HOMEPAGE= http://gphoto.sourceforge.net/proj/gtkam/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
WANTLIB += gthread-2.0 gtk-x11-2.0 ltdl m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += usb usb-1.0 xcb xcb-render xcb-shm z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
LIB_DEPENDS= graphics/libgphoto2>=2.4.11 \
2010-11-17 03:05:12 -05:00
x11/gtk+2 \
graphics/libexif-gtk
RUN_DEPENDS= devel/desktop-file-utils
2010-04-24 04:41:24 -04:00
MODULES= devel/gettext \
textproc/intltool
USE_LIBTOOL= Yes
2010-10-18 14:13:12 -04:00
USE_GROFF = Yes
2011-04-06 09:56:52 -04:00
USE_GMAKE = Yes
MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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 \
--with-gimp=no \
--with-bonobo=no \
--disable-scrollkeeper
.include <bsd.port.mk>