From owner-freebsd-ports@FreeBSD.ORG Tue Oct 18 00:33:30 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 C4FF616A41F for ; Tue, 18 Oct 2005 00:33:30 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5147743D48 for ; Tue, 18 Oct 2005 00:33:30 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id 4C9B81F87BFD; Tue, 18 Oct 2005 02:33:29 +0200 (CEST) Date: Tue, 18 Oct 2005 02:33:29 +0200 From: Roman Neuhauser To: freebsd-ports@freebsd.org Message-ID: <20051018003329.GG71766@isis.sigpipe.cz> Mail-Followup-To: freebsd-ports@freebsd.org References: <20051015053003.GB28137@soaustin.net> <4350CE50.8080704@ebs.gr> <5739E97B-7EDC-4971-9EA5-01A44688A981@softweyr.com> <43522953.6050700@ebs.gr> <1B8112AF-8C0E-4BA0-8D1C-DA6AD529F327@softweyr.com> <20051017153024.GA23494@arabica.esil.univ-mrs.fr> <20051017212748.GD71766@isis.sigpipe.cz> <790a9fff0510171505i4010cc05yc30f67d459d1a0e4@mail.gmail.com> <20051017222145.GA2840@sysmon.tcworks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051017222145.GA2840@sysmon.tcworks.net> User-Agent: Mutt/1.5.9i Subject: Re: [SUGGEST] Reform eclipse and eclipse related ports 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: Tue, 18 Oct 2005 00:33:30 -0000 # lambert@lambertfam.org / 2005-10-17 17:21:45 -0500: > On Mon, Oct 17, 2005 at 05:05:18PM -0500, Scot Hetzel wrote: > > The following could be added to bsd.port.mk > > > > virtualport: > > .for CATEGORY in ${CATEGORIES} > > .if not exist ${PORTSDIR}/${CATEGORY} > > mkdir ${PORTSDIR}/${CATEGORY} > > .endif > > .if not exist ${PORTSDIR}/${CATEGORY}/${PORTNAME} > > ln -s ${.CURDIR} ${PORTSDIR}/${CATEGORY}/${PORTNAME} > > .endif > > .endfor > > > > which would add the link for a specific port. The we would need to > > add a virtualports target (bsd.subdir.mk?) that would decend thru all > > the ports creating all the symbolic links (similar to the "make > > readmes" target used in /usr/ports/ ). > > The inodes, man! The inodes!!!! Inodes are cheap compared to the time I spend typing (and fixing typos in) something like make search name=\^p5- disp=path cat=www | sed '/^$/d' compared to ls -d /upo/w/p5-* Screw inodes, ls is too nice for the basic stuff. We could stop using the ugly portname prefixes like p5-, pear- (they just duplicate information contained in CATEGORIES IMO). Today, you can usually list all ports in such a virtual category by doing e. g. ls /usr/ports/*/p5-*, with virtual categories on disk you could also ls /usr/ports/p5. And, since you'll probably be in /usr/ports already, the final command is comfortably short (how about ls ecl?). -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991