From owner-freebsd-ports@FreeBSD.ORG Thu Jan 28 19:31:18 2010 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 0DEE11065676 for ; Thu, 28 Jan 2010 19:31:18 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 93B318FC15 for ; Thu, 28 Jan 2010 19:31:17 +0000 (UTC) Received: by bwz5 with SMTP id 5so864101bwz.3 for ; Thu, 28 Jan 2010 11:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=U+HrHRg82eUFiPoMqtY8rkh//ovZW5LUYlDPE64WrIg=; b=D1eIoRsV+mbCmdZVcQCn/ZcDYie1sDbPaVcP/Uj9ZE2mCRw/kLqlLoiZyqRfjsouEz 2cc+DiX8+yZWfodpXzW6xtthPxM4i6vWyb0xi/vutbBPtWfoUYwjmzPAKBPeG55S0bS/ 1JJxQaE12wYvz5O8wcTJ4jpKskjwFt9JW/Tpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ZN92hYx1fbVuIdGjAxlSwuoseeY6sx/5TTtt968Qs6kOHzRL77mP308KHCQWBzPa+d b1IzI1FbVBi63i0LCWp86xnZBYYKeHxUG5y4nrUJ6ofz5GjSdU/qktpO9En8zid5Igse uH7sERZntL9ssYbyBnXf77j6TOaNbnj3lmO1s= MIME-Version: 1.0 Received: by 10.239.188.16 with SMTP id n16mr1248432hbh.115.1264707076209; Thu, 28 Jan 2010 11:31:16 -0800 (PST) In-Reply-To: <4B608D82.1040901@gwdg.de> References: <4AFD2B5F.3070304@gwdg.de> <4B608D82.1040901@gwdg.de> From: Eitan Adler Date: Thu, 28 Jan 2010 21:30:56 +0200 Message-ID: To: Rainer Hurling Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: Need help with new port math/ggobi 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, 28 Jan 2010 19:31:18 -0000 > > 1. The port needs libraries gtk2 and libxml2. > Is it ok how the port ensures they are installed? > Ports has a predefined method of doing this: USE_GNOME= gtk20 libxml2 > 3. ggobi authors suggest to create /etc/xdg/ggobi/ for resource file. > A better place would be /usr/local/etc/xdg/ggobi/, I think. > What do you think? How could this be coded in the port? > Most programs I've seen are PREFIX safe. It is almost always better to use $PREFIX. The only exception I've ever seen is something like perl which many broken programs use. > > 5. When deinstalling, should we try to remove dirs share/applications > and etc/xdg? (Mostly they are used by other ports, too) > There is a feature "@dirrmtry" which will only remove the directory if no one is using it