From owner-freebsd-ports@FreeBSD.ORG Thu May 15 20:45:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A40B1065676 for ; Thu, 15 May 2008 20:45:09 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id B3BB48FC17 for ; Thu, 15 May 2008 20:45:08 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080515204507.ERJO23410.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Thu, 15 May 2008 16:45:07 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id Rwl61Z00d4iy4EG02wl74E; Thu, 15 May 2008 16:45:07 -0400 Date: Thu, 15 May 2008 15:47:16 -0500 To: =?utf-8?Q?Anders_Trob=C3=A4ck?= From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20080515220629.7d1b5abe@baal.troback.com> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20080515220629.7d1b5abe@baal.troback.com> User-Agent: Opera Mail/9.27 (Linux) Cc: FreeBSD Subject: Re: Gconf_schemas... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 20:45:09 -0000 On Thu, 15 May 2008 15:06:29 -0500, Anders Trobäck wrote: > Hi, > > I'm a maintainer of science/gramps. The port is using schemas and in > the the Makefile I have GCONF_SCHEMAS=gramps.schemas. > > I'm now working on a upgrade of the port. The latest version of > the program installs the schema file > as /usr/local/share/mime/packages/gramps.schemas. > > Is it OK to let the program put the file there? It's not ok and is a bug. More like copy-n-paste error by upstream, so you should file a bug report. > If yes, should I stop using GCONF_SCHEMAS and just add the file to > pkg-plist as a normal file? > > If no, how do I resolve this? Normal, it should be use GCONF_SCHEMA_FILE_DIR like this: schemasdir = $(GCONF_SCHEMA_FILE_DIR) Most of time, the schemas files are in ${WRKSRC}/ or ${WRKSRC}/data/ (more like data), so add a patch for data/Makefile.in. Cheers, Mezz > Thanks for your time! > > > Regards, > Anders Trobäck > Sweden -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org