ports/141053: [patch] Add contrast option to graphics/ufraw

Pierre Guinoiseau geekounet at poildetroll.net
Tue Dec 1 13:30:03 UTC 2009


>Number:         141053
>Category:       ports
>Synopsis:       [patch] Add contrast option to graphics/ufraw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 01 13:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Guinoiseau <geekounet at poildetroll.net>
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD korriban.home.poildetroll.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0 r199620: Sat Nov 21 02:10:44 CET 2009 root at korriban.home.poildetroll.net:/usr/obj/usr/src/sys/KORRIBAN amd64


>Description:
The following patch adds an option to enable the contrast setting of ufraw, and enable it by
default. It also bump the port revision because the contrast setting was not enabled until now.
>How-To-Repeat:

>Fix:

--- ufraw-contrast-option.diff begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/ufraw.orig/Makefile /usr/ports/graphics/ufraw/Makefile
--- /usr/ports/graphics/ufraw.orig/Makefile	2009-10-16 15:16:58.000000000 +0200
+++ /usr/ports/graphics/ufraw/Makefile	2009-12-01 14:00:18.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	ufraw
 PORTVERSION=	0.16
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics gnome
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -33,7 +33,8 @@
 OPTIONS=	EXIV2	"EXIF support via exiv2 library"	on	\
 		GIMP	"Install GIMP UFRaw plugin"		on	\
 		LENSFUN	"Build with LenFun library support"	on	\
-		FITS	"Enable FITS output support"		off
+		FITS	"Enable FITS output support"		off	\
+		CONTRAST	"Enable contrast setting"	on
 
 .include <bsd.port.pre.mk>
 
@@ -56,6 +57,9 @@
 .if defined(WITH_FITS) || exists(${LOCALBASE}/lib/libcfitsio.so)
 LIB_DEPENDS+=	cfitsio.0:${PORTSDIR}/astro/cfitsio
 .endif
+.if !defined(WITHOUT_CONTRAST)
+CONFIGURE_ARGS+=	--enable-contrast
+.endif
 
 MAN1=	ufraw.1
 
--- ufraw-contrast-option.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list