From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 21:35:49 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 664C5848 for ; Wed, 3 Sep 2014 21:35:49 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F203D19E0 for ; Wed, 3 Sep 2014 21:35:48 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.69.16]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MOTRh-1XSL122p9h-005uB3 for ; Wed, 03 Sep 2014 23:35:45 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 521F723CE71 for ; Wed, 3 Sep 2014 23:35:44 +0200 (CEST) Message-ID: <540789B0.5040808@gmx.de> Date: Wed, 03 Sep 2014 23:35:44 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: [BRAINSTORMING] simplifying maintainer's life References: <20140903082538.GE63085@ivaldir.etoilebsd.net> <20140903145614.158f8e89@kalimero.tijl.coosemans.org> In-Reply-To: <20140903145614.158f8e89@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:JCloGSN2e502ik3TPk8TUlQ5YcJ6vVYHsRG16bs+WEt0HYkg3M+ X/sFL29hHAw9BmTIULvRxMf0en48+4CWiAMfIKqe15oRBDt0THD0/xNOA8WQmKJatIOtSRH IZHw+lqxLSOMzzfVdJAEYFId6BVDT9jbon3CBkPWPI8kGYtKS96bGuNBoQgr+sqbrXUFxCj MAu+m8KaK4VM/6nqASHBg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 21:35:49 -0000 Am 03.09.2014 um 14:56 schrieb Tijl Coosemans: > On Wed, 3 Sep 2014 10:25:39 +0200 Baptiste Daroussin wrote: >> On of the most borring thing IMHO in the plist maintainance is all the >> directories. > > Another idea is to support shell glob patterns (*?[) in pkg-plist. This > is possible now thanks to staging. It would allow moving PORTDOCS, > PORTDATA and PORTEXAMPLES to pkg-plist. But more importantly, it would > allow automatic plists that some ports create in post-install to be > turned back into a real pkg-plist. Without glob patterns some pkg-plists > are just too long or too complicated depending on options. That is a bad idea. We have scripts to generate the pkg-plist to stdout, and something like make makeplist >/tmp/plist.new vim -o pkg-plist /tmp/plist.new works like a breeze for me, meaning it is very easy to maintain the list. With graphical editors that show two files at the same time, or with mouse support in vim, it's even easier to copy and paste entire blocks, for instance, from auto-generated HTML documentation. There is no reason to facilitate throwing away robustness and stability of the package build and listen to complaints about missing files.