Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2019 11:02:46 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492359 - head/graphics/ufraw
Message-ID:  <201902071102.x17B2ksi050848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Thu Feb  7 11:02:46 2019
New Revision: 492359
URL: https://svnweb.freebsd.org/changeset/ports/492359

Log:
  Be able to build ufraw without GTK2 option
  
  Add gnome to the uses to make testport happy
  Bump portrevision
  
  PR:		234436
  Reported by:	Thomas Guymer <t.m.guymer@thomasguymer.co.uk>

Modified:
  head/graphics/ufraw/Makefile
  head/graphics/ufraw/pkg-plist

Modified: head/graphics/ufraw/Makefile
==============================================================================
--- head/graphics/ufraw/Makefile	Thu Feb  7 10:55:09 2019	(r492358)
+++ head/graphics/ufraw/Makefile	Thu Feb  7 11:02:46 2019	(r492359)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ufraw
 PORTVERSION=	0.22
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	graphics
 
 MAINTAINER=	rodrigo@FreeBSD.org
@@ -20,7 +20,7 @@ LIB_DEPENDS=	libtiff.so:graphics/tiff \
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-extras
-USES=		compiler:c++11-lang gettext gmake jpeg pkgconfig autoreconf
+USES=		compiler:c++11-lang gettext gmake jpeg pkgconfig autoreconf gnome
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
@@ -58,6 +58,13 @@ GTK2_CONFIGURE_WITH=	gtk
 GNOME_USE=		GNOME=gconf2
 GNOME_CONFIGURE_ENABLE=	mime
 GNOME_VARS=		CATEGORIES+=gnome GCONF_SCHEMAS=${PORTNAME}.schemas
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MGTK2}
+PLIST_SUB+=	NOGTK2=""
+.else
+PLIST_SUB+=	NOGTK2="@comment "
+.endif
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR}

Modified: head/graphics/ufraw/pkg-plist
==============================================================================
--- head/graphics/ufraw/pkg-plist	Thu Feb  7 10:55:09 2019	(r492358)
+++ head/graphics/ufraw/pkg-plist	Thu Feb  7 11:02:46 2019	(r492359)
@@ -1,6 +1,6 @@
 bin/dcraw
 bin/nikon-curve
-bin/ufraw
+%%NOGTK2%%bin/ufraw
 bin/ufraw-batch
 man/man1/ufraw.1.gz
 share/applications/ufraw.desktop



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