diff options
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 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! |