summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-04-07 14:24:48 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-04-07 14:24:48 +0000
commit0d62921a63129d958355476368f188edd2707a02 (patch)
treead60bfe8ad7311507905290f762b2f7f2609974c /graphics/sane-backends
parentUpgrade to 0.3.3. (diff)
Fix package build: Make installation from port and package equivalent again.
The package was missing the default dll.conf which also caused build failures further down the stream, eg. in graphics/hpoj. Bump PORTREV accordingly. Fix some grammar while here.
Notes
Notes: svn path=/head/; revision=159054
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r--graphics/sane-backends/Makefile6
-rw-r--r--graphics/sane-backends/pkg-plist1
2 files changed, 4 insertions, 3 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 3aae3ea3f7f9..e902a3ed4dd5 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sane-backends
PORTVERSION= 1.0.17
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://alioth.debian.org/download.php/1347/ \
ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \
@@ -64,8 +64,8 @@ pre-fetch:
@${ECHO} ""
@${ECHO} "*** ATTENTION ***"
@${ECHO} ""
- @${ECHO} "Old versions then 1.0.17_1 do not check if you change config files."
- @${ECHO} "If it's your case, press CTRL+C and copy your config files."
+ @${ECHO} "Older versions than 1.0.17_1 do not check if you change config files."
+ @${ECHO} "If that's the case for you, press CTRL+C and backup your config files."
@${ECHO} ""
post-patch:
diff --git a/graphics/sane-backends/pkg-plist b/graphics/sane-backends/pkg-plist
index d7f044023864..48e872717d12 100644
--- a/graphics/sane-backends/pkg-plist
+++ b/graphics/sane-backends/pkg-plist
@@ -73,6 +73,7 @@ etc/sane.d/dist/dc210.conf
etc/sane.d/dist/dc240.conf
etc/sane.d/dist/dc25.conf
etc/sane.d/dist/dll.conf
+@exec if test ! -e %D/etc/sane.d/dll.conf; then cp %D/etc/sane.d/dist/dll.conf %D/etc/sane.d/dll.conf; fi
etc/sane.d/dist/dmc.conf
etc/sane.d/dist/epson.conf
etc/sane.d/dist/fujitsu.conf