# New ports collection makefile for: sane-backends # Date created: Sat Jul 19 16:23:10 MET DST 1997 # Whom: gary@hotlava.com # # $FreeBSD$ # PORTNAME= sane-backends PORTVERSION= 1.0.14 CATEGORIES= graphics MASTER_SITES= ftp://ftp.no.mostang.com/pub/sane/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= API for access to scanners, digitals camera, frame grabbers etc LIB_DEPENDS= usb-0.1.7:${PORTSDIR}/devel/libusb \ jpeg.9:${PORTSDIR}/graphics/jpeg USE_GNOME= gnometarget lthack USE_GMAKE= yes USE_LIBTOOL_VER= 13 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} INSTALLS_SHLIB= yes .include .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-translations PLIST_SUB+= NLS="@comment " .else USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif .if defined(WITH_GPHOTO2) LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/gphoto2 PLIST_SUB+= GPHOTO2="" .else CONFIGURE_ARGS+= --with-gphoto2=no PLIST_SUB+= GPHOTO2="@comment " .endif pre-everything:: .if !defined(WITH_GPHOTO2) @${ECHO_MSG} @${ECHO_MSG} "If you want to compile with gPhoto2 support," @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_GPHOTO2=yes\"" @${ECHO_MSG} .endif .include "Makefile.man" .include