aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-03-31 16:09:05 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-03-31 16:09:05 +0000
commit8ca30908d358c8befdb8933b72d2f0a88a08c5a8 (patch)
tree6f429999c0382d931576b593e284c545227ec684 /graphics
parent600b5d58234ca5549b31ae10b35cec8cd7f98536 (diff)
downloadports-8ca30908d358c8befdb8933b72d2f0a88a08c5a8.tar.gz
ports-8ca30908d358c8befdb8933b72d2f0a88a08c5a8.zip
Fix PKGMESSAGE handling.
PR: 26232 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=40671
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sane-frontends/Makefile8
-rw-r--r--graphics/sane-frontends/pkg-message10
2 files changed, 6 insertions, 12 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile
index 65ab0cdecc6e..cca3ba7b77d6 100644
--- a/graphics/sane-frontends/Makefile
+++ b/graphics/sane-frontends/Makefile
@@ -17,8 +17,6 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
USE_GTK= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -42,11 +40,7 @@ pre-everything:
@${ECHO_MSG} "*** \"WITH_GIMP=yes\""
.endif
-post-patch:
- @${SED} -e 's:%%PREFIX%%:${PREFIX}:' -e 's:%%X11BASE%%:${X11BASE}:' \
- ${PKGDIR}/pkg-message > ${PKGMESSAGE}
-
post-install:
- @${CAT} ${PKGMESSAGE}
+ @${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/graphics/sane-frontends/pkg-message b/graphics/sane-frontends/pkg-message
index f39dfb79924b..db280333638c 100644
--- a/graphics/sane-frontends/pkg-message
+++ b/graphics/sane-frontends/pkg-message
@@ -1,11 +1,11 @@
Congratulations, SANE-FRONTENDS is now installed.
-If you built it with GIMP packages/ports installed, you can
-use xscanimage as a GIMP plug-in. To do this, as root, type:
+If you built it with GIMP packages/ports installed, you can use
+xscanimage as a GIMP plug-in. To do this, type:
-ln -sf %%PREFIX%%/bin/xscanimage %%X11BASE%%/libexec/gimp/1.1/plug-ins/xscanimage
+ln -sf /usr/local/bin/xscanimage ~/.gimp-1.2/plug-ins/xscanimage
-Then run the GIMP, and a new "Acquire" menu item should appear in the
-"Xtras" menu. Use this to access your scanner.
+Then run the GIMP, and a new "Acquire Image" menu item should appear in the
+"Xtns" menu. Use this to access your scanner.
Have fun!