2008-02-13 08:23:58 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2008/02/13 13:23:58 ajacoutot Exp $
|
2005-10-03 17:15:04 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= API for accessing scanners, backends
|
2005-10-03 17:15:04 -04:00
|
|
|
|
2008-02-13 08:23:58 -05:00
|
|
|
DISTNAME= sane-backends-1.0.19
|
|
|
|
SHARED_LIBS= sane 1.17 # .0.0
|
2005-10-03 17:15:04 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.sane-project.org/
|
|
|
|
|
2006-10-27 08:53:01 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2005-10-03 17:15:04 -04:00
|
|
|
|
|
|
|
# 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}/ \
|
2006-07-22 07:52:49 -04:00
|
|
|
ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/capture/ \
|
2005-10-03 17:15:04 -04:00
|
|
|
http://gd.tuwien.ac.at/hci/sane/${DISTNAME}/ \
|
2005-10-06 18:37:45 -04:00
|
|
|
ftp://gd.tuwien.ac.at/hci/sane/${DISTNAME}/ \
|
|
|
|
ftp://ftp.sane-project.org/pub/sane/old-versions/${DISTNAME}/
|
2008-02-13 08:23:58 -05:00
|
|
|
|
2007-10-25 16:43:14 -04:00
|
|
|
WANTLIB= c m pthread exif ltdl z
|
2005-10-03 17:15:04 -04:00
|
|
|
|
2006-08-03 08:53:18 -04:00
|
|
|
LIB_DEPENDS= usb.>=7::devel/libusb \
|
|
|
|
jpeg.>=62::graphics/jpeg \
|
|
|
|
tiff.>=38::graphics/tiff \
|
|
|
|
gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2
|
2005-10-03 17:15:04 -04:00
|
|
|
|
2006-04-23 06:29:53 -04:00
|
|
|
MODULES= devel/gettext
|
2008-02-13 08:23:58 -05:00
|
|
|
|
2005-10-03 17:15:04 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2008-02-13 08:23:58 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2005-10-03 17:15:04 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2006-04-23 06:29:53 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_MAKEDEPEND="no"
|
2005-10-03 17:15:04 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2008-02-13 08:23:58 -05:00
|
|
|
--sbindir=${PREFIX}/libexec \
|
|
|
|
--with-docdir=${PREFIX}/share/doc/sane-backends \
|
2005-10-09 05:12:19 -04:00
|
|
|
--localstatedir=/var/spool \
|
2006-04-23 06:29:53 -04:00
|
|
|
--with-gphoto2 \
|
2005-10-09 05:12:19 -04:00
|
|
|
--with-group=553
|
2005-10-03 17:15:04 -04:00
|
|
|
|
2008-02-13 08:23:58 -05:00
|
|
|
FAKE_FLAGS= configdir=${PREFIX}/share/examples/sane-backends/sane.d
|
2005-10-03 17:15:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|