Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 01:22:23 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70738: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-frontends
Message-ID:  <200408201722.i7KHMNNh058294@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408201730.i7KHULja039803@freefall.freebsd.org>

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

>Number:         70738
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/graphics/sane-frontends
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 17:30:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/graphics/sane-frontends

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- sane-frontends.patch begins here ---
diff -ruN /usr/ports/graphics/sane-frontends/Makefile sane-frontends/Makefile
--- /usr/ports/graphics/sane-frontends/Makefile	Sun Aug  1 00:00:03 2004
+++ sane-frontends/Makefile	Fri Aug 20 19:43:58 2004
@@ -26,6 +26,11 @@
 
 MAN1=		scanadf.1 xcam.1 xscanimage.1
 
+OPTIONS=	GTK1 "GTK1 support (Default is GTK2)" off \
+		GIMP "also build xscanimage as a GIMP plug-in" off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_GTK1)
 USE_GNOME+=	gtk12
 CONFIGURE_ARGS+=	--disable-gtk2
@@ -45,15 +50,7 @@
 .endif
 .endif
 
-pre-everything::
-.if !defined(WITH_GIMP)
-	@${ECHO_MSG} "*** Note: xscanimage can be built with a standalone"
-	@${ECHO_MSG} "*** X scanner interface as well as a GIMP plug-in."
-	@${ECHO_MSG} "*** If you wish to do this, hit Ctrl-C now and use"
-	@${ECHO_MSG} "*** \"WITH_GIMP=yes\""
-.endif
-
 post-install:
 	@${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- sane-frontends.patch ends here ---


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



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