openbsd-ports/graphics/zbar/Makefile
2010-11-17 08:05:12 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2010/11/17 08:05:16 espie Exp $
COMMENT= ZBar barcode reader
DISTNAME= zbar-0.10
REVISION= 3
SHARED_LIBS= zbar 0.0 \
zbargtk 0.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zbar/}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://zbar.sourceforge.net/
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
# LGPL 2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
lang/python
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 bz2 c
WANTLIB += cairo expat fontconfig freetype gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 jasper jbig jpeg
WANTLIB += lcms m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread pthread-stubs tiff wmflite
WANTLIB += xcb xml2 z gdk_pixbuf-2.0 MagickCore>=1 MagickWand>=1
WANTLIB += ffi gdk-x11-2.0>=0.11 gtk-x11-2.0>=0.11
LIB_DEPENDS= graphics/ImageMagick \
devel/libffi \
x11/gtk+2
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= x11/py-gtk2
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-video --without-qt
USE_LIBTOOL= Yes
USE_GMAKE= Yes
.include <bsd.port.mk>