# 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.18 CATEGORIES= graphics MASTER_SITES= http://alioth.debian.org/download.php/1669/ \ ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \ ftp://ftp2.sane-project.org/pub/sane/%SUBDIR%/ \ ftp://ftp3.sane-project.org/pub/sane/%SUBDIR%/ \ ftp://gd.tuwien.ac.at/hci/sane/%SUBDIR%/ \ http://gd.tuwien.ac.at/hci/sane/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= API for access to scanners, digitals camera, frame grabbers etc LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff OPTIONS= USB "USB support" on \ NLS "NLS support" on \ GPHOTO2 "gPhoto2 support" off USE_GNOME= gnometarget USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --mandir=${PREFIX}/man --with-docdir=${DOCSDIR} \ --disable-locking MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} USE_LDCONFIG= yes .include "Makefile.man" .include .if defined(WITHOUT_USB) CONFIGURE_ARGS+= --disable-libusb .else LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .endif .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/libgphoto2 PLIST_SUB+= GPHOTO2="" .else CONFIGURE_ARGS+= --with-gphoto2=no PLIST_SUB+= GPHOTO2="@comment " .endif pre-everithing:: @${ECHO_MSG} "" @${ECHO_MSG} "*** ATTENTION ***" @${ECHO_MSG} "" @${ECHO_MSG} "Older versions than 1.0.17_1 do not check if you change config files." @${ECHO_MSG} "If that's the case for you, press CTRL+C and backup your config files." @${ECHO_MSG} "" post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|= \.\./libtool|= @LIBTOOL@|g' @${REINPLACE_CMD} -e 's|} -D_REENT|} ${PTHREAD_CFLAGS} -D_REENT|g ; \ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure .include dash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2017-09-111-1/+1
* Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-011-0/+1
* Take in olivierd@'s commit bit on his request.rene2017-03-191-1/+1
* - Update to 3.8.2olivierd2017-01-312-4/+5
* Update to 3.8.1olivierd2016-12-102-4/+4