From owner-cvs-all Sun May 26 7:44: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.6]) by hub.freebsd.org (Postfix) with ESMTP id 4966437B401; Sun, 26 May 2002 07:43:55 -0700 (PDT) Received: from localhost (trevor@localhost) by blues.jpj.net (8.11.6/8.11.6) with ESMTP id g4QEhpv27308; Sun, 26 May 2002 10:43:51 -0400 (EDT) Date: Sun, 26 May 2002 10:43:50 -0400 (EDT) From: Trevor Johnson To: Ying-Chieh Liao Cc: Trevor Johnson , , Subject: Re: cvs commit: ports/x11-toolkits/xclasses Makefile pkg-plist In-Reply-To: <20020526135623.GA16449@terry.dragon2.net> Message-ID: <20020526101813.K8013-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ying-Chieh Liao wrote: > does auto-generate plist a new trend ? :p No, I've been doing it for at least a year and a half, but as far as I've noticed no one else does. Its advantages are that: - it can save disk space when a large packing list is replaced by a few lines in a Makefile. For instance, ports/www/linux-netscape6/pkg-plist used to be 100 kB but now it is generated by 15 lines of code (which are shared among 5 different ports). - it saves an inode, or several inodes for packing lists which would have been pieced together from several files. - sometimes the generation can be done in such a way that no maintenance of the packing list is needed when the contents of the package change. The disadvantages are that: - users can't always tell what files will be installed by a port just by looking at the port skeleton. - sometimes it can be more work for the porter. If the INSTALL_ macros would register stuff in the packing list, the second disadvantage would go away, at least for ports that use those macros, as the Porter's Handbook recommends. -- Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message