aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-frontends
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-12 03:38:02 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-12 03:38:02 +0000
commit3f2e16176dfcb9edcb27b9621f7e362597595efe (patch)
treeb7472d67786f26773b6891d12f65a240a0f17bcc /graphics/sane-frontends
parent02e35b74c08926ed4efab91d8d8cca4b313b2578 (diff)
downloadports-3f2e16176dfcb9edcb27b9621f7e362597595efe.tar.gz
ports-3f2e16176dfcb9edcb27b9621f7e362597595efe.zip
Notes
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r--graphics/sane-frontends/Makefile3
-rw-r--r--graphics/sane-frontends/files/pkg-message.in (renamed from graphics/sane-frontends/pkg-message)4
2 files changed, 4 insertions, 3 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile
index 355a3602c0a0..23f9586e6086 100644
--- a/graphics/sane-frontends/Makefile
+++ b/graphics/sane-frontends/Makefile
@@ -29,6 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= scanadf.1 xcam.1 xscanimage.1
+SUB_FILES= pkg-message
OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off \
GIMP "also build xscanimage as a GIMP plug-in" off
@@ -55,6 +56,6 @@ CONFIGURE_ARGS+= --disable-gimp
.endif
post-install:
- @${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/graphics/sane-frontends/pkg-message b/graphics/sane-frontends/files/pkg-message.in
index 90708a10a88e..d27a55c8ee62 100644
--- a/graphics/sane-frontends/pkg-message
+++ b/graphics/sane-frontends/files/pkg-message.in
@@ -3,8 +3,8 @@ Congratulations, SANE-FRONTENDS is now installed.
If you built it with WITH_GIMP set to yes, you can use
xscanimage as a GIMP plug-in. To do this, type:
-ln -sf /usr/local/bin/xscanimage ~/.gimp-2.0/plug-ins/xscanimage (gimp-2.x)
-ln -sf /usr/local/bin/xscanimage ~/.gimp-1.2/plug-ins/xscanimage (gimp-1.x)
+ln -sf %%PREFIX%%/bin/xscanimage ~/.gimp-2.0/plug-ins/xscanimage (gimp-2.x)
+ln -sf %%PREFIX%%/bin/xscanimage ~/.gimp-1.2/plug-ins/xscanimage (gimp-1.x)
Then run the GIMP, and a new "xscanimage" menu item should appear in the
"File->Acquire" menu. Use this to access your scanner.