Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2018 22:15:33 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458944 - head/x11-toolkits/girara
Message-ID:  <201801132215.w0DMFXPj077420@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sat Jan 13 22:15:33 2018
New Revision: 458944
URL: https://svnweb.freebsd.org/changeset/ports/458944

Log:
  - Add NOTIFY option, enabled by default
  - Add JSONC option, disabled by default
  
  These options allow controlling two optional dependencies of girara,
  which where being silently linked if present on the system when
  compiling.
  
  PR:		224876
  Submitted by:	pawel@
  MFH:		2018Q1

Modified:
  head/x11-toolkits/girara/Makefile

Modified: head/x11-toolkits/girara/Makefile
==============================================================================
--- head/x11-toolkits/girara/Makefile	Sat Jan 13 21:35:44 2018	(r458943)
+++ head/x11-toolkits/girara/Makefile	Sat Jan 13 22:15:33 2018	(r458944)
@@ -3,6 +3,7 @@
 
 PORTNAME=	girara
 PORTVERSION=	0.2.8
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits graphics
 MASTER_SITES=	https://pwmt.org/projects/girara/download/ \
 		http://www.madpilot.net/~mad/pwmt.org/
@@ -19,10 +20,19 @@ LIBDIR=		${PREFIX}/lib
 MAKE_ENV+=	SFLAGS=${STRIP} \
 		VERBOSE=1
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=		JSONC NLS NOTIFY
+OPTIONS_DEFAULT=	NOTIFY
+JSONC_DESC=		Support json configuration dump
 
-OPTIONS_SUB=	yes
-NLS_USES=	gettext
+OPTIONS_SUB=		yes
+
+JSONC_LIB_DEPENDS=	libjson-c.so:devel/json-c
+JSONC_MAKE_ENV_OFF=		WITH_JSON=0
+
+NLS_USES=		gettext
+
+NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
+NOTIFY_MAKE_ENV_OFF=	WITH_LIBNOTIFY=0
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} -e 's|^\(CFLAGS +=\) -std=c11|\1|' \



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