diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-03-31 16:09:05 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-03-31 16:09:05 +0000 |
commit | dcf08ad159eccc9ca9b09d290b2673e12326ed0d (patch) | |
tree | 5dbb3f3fee2a32dfafb6246dbd48031cc9c4d0fd /graphics/sane-frontends | |
parent | 7667ada727448fc32a9afa61c9deeb1d7edc83a8 (diff) | |
download | FreeBSD-ports-dcf08ad159eccc9ca9b09d290b2673e12326ed0d.zip FreeBSD-ports-dcf08ad159eccc9ca9b09d290b2673e12326ed0d.tar.gz |
Fix PKGMESSAGE handling.
PR: 26232
Submitted by: Ports Fury
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r-- | graphics/sane-frontends/Makefile | 8 | ||||
-rw-r--r-- | graphics/sane-frontends/pkg-message | 10 |
2 files changed, 6 insertions, 12 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile index 65ab0cd..cca3ba7 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 f39dfb7..db28033 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! |