aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-backends/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sane-backends/Makefile')
-rw-r--r--graphics/sane-backends/Makefile21
1 files changed, 4 insertions, 17 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 651cce823d8d..298a45fe3e8d 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sane-backends
-PORTVERSION= 1.0.7
-PORTREVISION= 1
+PORTVERSION= 1.0.8
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.mostang.com/pub/sane/%SUBDIR%/ \
ftp://ftp.de.mostang.com/pub/sane/%SUBDIR%/ \
@@ -21,24 +20,11 @@ LIB_DEPENDS= usb-0.1.5:${PORTSDIR}/devel/libusb \
USE_GMAKE= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_UNION_SEMUN" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAKE_ENV= NOPORTDOCS=${NOPORTDOCS}
INSTALLS_SHLIB= yes
-MAN1= sane-find-scanner.1 saned.1 scanimage.1
-MAN5= sane-abaton.5 sane-agfafocus.5 sane-apple.5 sane-artec.5 sane-as6e.5 \
- sane-avision.5 sane-bh.5 sane-canon.5 sane-coolscan.5 sane-dc210.5 \
- sane-dc240.5 sane-dc25.5 sane-dll.5 sane-dmc.5 sane-epson.5 \
- sane-fujitsu.5 sane-gphoto2.5 sane-hp.5 sane-microtek.5 \
- sane-microtek2.5 sane-mustek.5 sane-mustek_pp.5 sane-mustek_usb.5 \
- sane-nec.5 sane-net.5 sane-pie.5 sane-pint.5 sane-plustek.5 \
- sane-pnm.5 sane-qcam.5 sane-ricoh.5 sane-s9036.5 sane-scsi.5 \
- sane-sharp.5 sane-sm3600.5 sane-snapscan.5 sane-st400.5 \
- sane-tamarack.5 sane-umax.5 sane-umax1220u.5 sane-umax_pp.5 \
- sane-usb.5 sane-v4l.5
-MAN7= sane.7
-
.if defined(WITH_GPHOTO2)
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/gphoto2
CONFIGURE_ARGS+= --with-gphoto2=yes
@@ -57,6 +43,7 @@ pre-everything::
post-patch:
@${PERL} -pi -e 's| -I/usr/local/include||g ; \
- s|2.0beta5dev1|2.0|g' ${WRKSRC}/configure
+ s|gphoto2 2.0.1|gphoto2 2.0|g' ${WRKSRC}/configure
+.include "Makefile.man"
.include <bsd.port.mk>