2006-09-18 07:50:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/09/18 11:50:40 espie Exp $
|
2005-11-03 10:30:12 -05:00
|
|
|
|
|
|
|
COMMENT= "API for accessing scanners, frontends"
|
|
|
|
|
|
|
|
DISTNAME= sane-frontends-1.0.14
|
2006-07-21 06:31:47 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2005-11-03 10:30:12 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.sane-project.org/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@lphp.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \
|
|
|
|
http://gd.tuwien.ac.at/hci/sane/${DISTNAME}/ \
|
|
|
|
ftp://gd.tuwien.ac.at/hci/sane/${DISTNAME}/ \
|
|
|
|
ftp://ftp.sane-project.org/pub/sane/old-versions/${DISTNAME}/
|
|
|
|
|
2006-07-21 06:31:47 -04:00
|
|
|
WANTLIB= c X11 m freetype fontconfig pthread tiff \
|
2006-09-18 07:50:39 -04:00
|
|
|
jpeg pango-1.0 glib-2.0 gmodule-2.0 \
|
|
|
|
gobject-2.0 pangocairo-1.0 pangoft2-1.0 \
|
|
|
|
atk-1.0 usb gphoto2.>=2 gphoto2_port.>=5 cairo
|
2005-11-03 10:30:12 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2006-09-18 07:50:39 -04:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
2006-08-03 08:53:18 -04:00
|
|
|
sane.>=1::graphics/sane-backends
|
2005-11-03 10:30:12 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
FLAVORS= gimp
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "gimp"
|
2006-08-03 08:53:18 -04:00
|
|
|
LIB_DEPENDS+= gimp-2.0.>=200.0,gimpui-2.0.>=200.0,gimpmath-2.0.>=200.0,gimpwidgets-2.0.>=200.0,gimpbase-2.0.>=200.0,gimpcolor-2.0.>=200.0::graphics/gimp/stable
|
2005-11-03 10:30:12 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS+="-I${LOCALBASE}/include/gimp-2.0"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gimp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|