Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 12:03:53 +0200
From:      Rasmus Kaj <kaj@raditex.se>
To:        witr@rwwa.com
Cc:        Rasmus Kaj <kaj@raditex.se>
Subject:   Re: a two-level port system? 
Message-ID:  <19990531120353N.kaj@raditex.se>
In-Reply-To: Your message of "Sun, 30 May 1999 11:29:22 -0400" <199905301529.LAA25749@spooky.rwwa.com>
References:  <199905301529.LAA25749@spooky.rwwa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "RW" == Robert Withrow <witr@rwwa.com> writes:

 RW> Alternatively, is it possible to have the port tree be essentially
 RW> empty (perhaps just the makefile and category directories) and then
 RW> just have it fetch the makefiles and make the directories on demand, for
 RW> the individal ports?

May I suggest not going quite so long?

 Summary: For each port, keep Makefile, pkg/* and md5, move
 everything else (patches, files (other than md5), and scripts)
 elsewhere. 


Rationale for moving stuff elsewhere

 In my (recently updated) copy of /usr/ports there is 4819 files in
 */*/patches and 775 files other than md5 in */*/files. Scripts is
 another 270 directories containing 522 files.

 Moving this files to the ftp sites would not only mean >6000 less
 files to cvsup, but also >4300 less directories (assuming files/md5
 could be moved to pkg/ or the port directory).


Rationale for keeping Makefile and pkg/*

 This makes it possible to see what a port is for before starting to
 build it or download stuff. Also, this makes it possible to make
 readmes for the entire ports collection whithout getting "the extra
 stuff".


On the other hand

 This would probably make it harder to submit and commit ports, since 
 things would have to be commited to separate places, and the
 makefile would need to explicitly list patches and other files
 rahter than having them 'autodetected'.

Comments, anyone?

-- 
Rasmus Kaj ---------------- rasmus@kaj.a.se - http://www.e.kth.se/~kaj/
 \              Im sorry if the correct way of doing things offends you
  \--------------------------------------------- http://www.Raditex.se/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990531120353N.kaj>