From owner-freebsd-ports@FreeBSD.ORG Tue Apr 13 08:31:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB0CA16A4CF for ; Tue, 13 Apr 2004 08:31:30 -0700 (PDT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68BC843D48 for ; Tue, 13 Apr 2004 08:31:30 -0700 (PDT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 866442178E for ; Tue, 13 Apr 2004 11:31:29 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <200404131516.i3DFGMJA078941@green.homeunix.org> References: <200404131516.i3DFGMJA078941@green.homeunix.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-10-483874581; protocol="application/pkcs7-signature" Message-Id: From: Vivek Khera Date: Tue, 13 Apr 2004 11:31:29 -0400 To: freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.613) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Second "RFC" on pkg-data idea for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 15:31:31 -0000 --Apple-Mail-10-483874581 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Apr 13, 2004, at 11:16 AM, Brian F. Feldman wrote: > I'm not sure I understand why you don't just go all the way and embed > it in > the Makefile. Is it because make(1) is "slow"? Since pkg/COMMENT > turned > into pkg-comment and then COMMENT= in the Makefile, it's not hard to > imagine > the same could be done for pkg/DESCR -> pkg-descr -> DESCR=, pkg/PLIST > -> > pkg-plist -> PLIST=, and then every port would only be a single file. > Heck, > even if Makefile became, itself, the XML PkgData file that defines > everything in every port, it's not like there couldn't be a > portmake(1) that > did "PkgData --Makefile" and called make(1) with all the rest of its > arguments except doing a file descriptor redirection or temporary file > redirection and adding a -f . > See http://darwinports.opendarwin.org/ that's pretty much how it works, but their command is called "port" and the port description files are written in TCL. Mostly, actually. The patch files are still external. --Apple-Mail-10-483874581--