2006-04-23 09:32:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/04/23 13:32:13 alek Exp $
|
2005-10-03 17:15:04 -04:00
|
|
|
|
|
|
|
COMMENT= "API for accessing scanners, backends"
|
|
|
|
|
2006-04-23 06:29:53 -04:00
|
|
|
DISTNAME= sane-backends-1.0.17
|
2006-04-23 09:32:13 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-04-23 06:29:53 -04:00
|
|
|
SHARED_LIBS= sane 1.17
|
2005-10-03 17:15:04 -04: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}/ \
|
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}/
|
2006-04-23 06:29:53 -04:00
|
|
|
WANTLIB= c m pthread exif
|
2005-10-03 17:15:04 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= usb.7::devel/libusb \
|
2006-04-23 06:29:53 -04:00
|
|
|
jpeg.62::graphics/jpeg \
|
|
|
|
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
|
2005-10-03 17:15:04 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
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} \
|
|
|
|
--sbindir=${LOCALBASE}/libexec \
|
|
|
|
--with-docdir=${LOCALBASE}/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
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|