Index: head/graphics/sane-backends/pkg-deinstall =================================================================== --- head/graphics/sane-backends/pkg-deinstall (revision 472450) +++ head/graphics/sane-backends/pkg-deinstall (nonexistent) @@ -1,63 +0,0 @@ -#!/bin/sh - -user=saned -group=saned - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -delete_account() { - local u g home - - u=$1 - g=$2 - if yesno "Do you want me to remove group \"${g}\"" y; then - pw groupdel -n ${g} - echo "Done." - fi - if yesno "Do you want me to remove user \"${u}\"" y; then - eval home=~${u} - pw userdel -n ${u} - echo "Done." - fi -} - -if [ x"$2" = xDEINSTALL ]; then - if [ ! -n "$BATCH" ]; then - if /bin/ps -axc | /usr/bin/grep -q saned; then - if yesno "There are some SANE processes running. Shall I kill them" y; then - ${PKG_PREFIX}/etc/rc.d/saned stop - sleep 2 - else - echo "OK ... I hope you know what you are doing." - fi - fi - - fi -fi Property changes on: head/graphics/sane-backends/pkg-deinstall ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/sane-backends/Makefile =================================================================== --- head/graphics/sane-backends/Makefile (revision 472450) +++ head/graphics/sane-backends/Makefile (revision 472451) @@ -1,74 +1,74 @@ # Created by: gary@hotlava.com # $FreeBSD$ PORTNAME= sane-backends PORTVERSION= 1.0.27 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4146/ \ http://fossies.org/linux/misc/ MAINTAINER= ports@FreeBSD.org COMMENT= API for access to scanners, digitals camera, frame grabbers etc LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gmake jpeg libtool localbase pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-docdir=${DOCSDIR} \ --disable-latex \ --disable-locking \ --enable-pthread \ --without-systemd INSTALL_TARGET= install-strip USE_LDCONFIG= yes USE_RC_SUBR= saned WRKSRC= ${WRKDIR}/${PORTNAME}-1.0.25 SUB_FILES= pkg-message USERS= saned GROUPS= saned PORTDOCS= * OPTIONS_DEFINE= AVAHI DOCS GPHOTO IEEE1284 IPV6 NLS SNMP USB V4L OPTIONS_DEFAULT= USB OPTIONS_SUB= yes AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CONFIGURE_OFF= --with-gphoto2=no IEEE1284_DESC= Parallel port support via libieee1284 IEEE1284_LIB_DEPENDS= libieee1284.so:sysutils/libieee1284 IEEE1284_CONFIGURE_ENV_OFF= sane_cv_use_libieee1284=no IPV6_CONFIGURE_ENABLE= ipv6 NLS_USES= gettext NLS_CONFIGURE_ENABLE= translations SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= snmp USB_DESC= USB support USB_CONFIGURE_ON= --enable-libusb_1_0 USB_CONFIGURE_OFF= --enable-libusb=no V4L_LIB_DEPENDS= libv4l1.so:multimedia/libv4l V4L_CONFIGURE_WITH= v4l post-patch: @${REINPLACE_CMD} -e '/for ac_header in/s|libc.h|sys/endian.h| ; \ s|"$${have_linux_ioctl_defines}"|"$${have_libv4l1}"|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^dist_doc_DATA/s|COPYING||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|HAVE_LIBC_H|HAVE_SYS_ENDIAN_H|' \ ${WRKSRC}/include/sane/config.h.in @${REINPLACE_CMD} -e '/^pkgconfigdir/s|@libdir@|@prefix@/libdata|' \ ${WRKSRC}/tools/Makefile.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR=/s|@libdir@|@prefix@/libdata|' \ ${WRKSRC}/tools/sane-config.in .include