Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 17:09:48 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26232: Update port: graphics/sane-frontends
Message-ID:  <200103310109.f2V19mZ20644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26232
>Category:       ports
>Synopsis:       Update port: graphics/sane-frontends
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 17:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix PKGMESSAGE handling

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/sane-frontends/Makefile graphics/sane-frontends/Makefile
--- /usr/ports/graphics/sane-frontends/Makefile	Tue Mar 27 22:17:58 2001
+++ graphics/sane-frontends/Makefile	Wed Mar 28 03:06:16 2001
@@ -17,8 +17,6 @@
 
 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 @@
 	@${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 -urN /usr/ports/graphics/sane-frontends/pkg-message graphics/sane-frontends/pkg-message
--- /usr/ports/graphics/sane-frontends/pkg-message	Tue Mar 27 22:17:58 2001
+++ graphics/sane-frontends/pkg-message	Wed Mar 28 03:21:15 2001
@@ -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!

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103310109.f2V19mZ20644>