From 8ca30908d358c8befdb8933b72d2f0a88a08c5a8 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Sat, 31 Mar 2001 16:09:05 +0000 Subject: Fix PKGMESSAGE handling. PR: 26232 Submitted by: Ports Fury --- graphics/sane-frontends/Makefile | 8 +------- graphics/sane-frontends/pkg-message | 10 +++++----- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'graphics') 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 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! -- cgit v1.2.3