openbsd-ports/graphics/simple-scan/Makefile
ajacoutot 8e6304f974 deve/gconf2 is about to loose its dependency on x11/gtk+2 so explicitely
register x11/gtk+2 for ports depending on gconf2 that don't have another
dependency that would bring it.

discussed with jasper@
2011-05-14 21:29:03 +00:00

55 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2011/05/14 21:29:03 ajacoutot Exp $
COMMENT= simple scanning utility
GNOME_PROJECT= simple-scan
GNOME_VERSION= 2.32.0.2
REVISION= 0
EXTRACT_SUFX= .tar.gz
CATEGORIES= graphics
HOMEPAGE= https://launchpad.net/simple-scan
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs xcb z
WANTLIB += xcb-render GL Xxf86vm dbus-glib-1 drm jpeg xcb-shm
WANTLIB += sane>=2
#MASTER_SITES= http://people.ubuntu.com/~robert-ancell/simple-scan/
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
LIB_DEPENDS= graphics/sane-backends \
x11/gtk+2
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= simple-scan
USE_GMAKE= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURED_SHARED}
.include <bsd.port.mk>