From owner-freebsd-ports@FreeBSD.ORG Mon Oct 17 22:05:20 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 EFB0716A421 for ; Mon, 17 Oct 2005 22:05:20 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C36743D48 for ; Mon, 17 Oct 2005 22:05:19 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so799433wxc for ; Mon, 17 Oct 2005 15:05:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b4ilNI8vSoL4K69W7TR+Q6jr4HWmUeGecPf72tVZ4hbzjAgXfAoqdW1Sq5mTFVAsWfEtZ2ULYl+SFv1FiQlGdnfkapvxo4GJxSAevdDdyXakUgCLYoljEOySW9d3Lb4VG7z1rmIPz+u0zjcScCZ5V8DS411yt7Ws/dhMFXQBcxs= Received: by 10.70.75.15 with SMTP id x15mr2588813wxa; Mon, 17 Oct 2005 15:05:18 -0700 (PDT) Received: by 10.70.53.4 with HTTP; Mon, 17 Oct 2005 15:05:18 -0700 (PDT) Message-ID: <790a9fff0510171505i4010cc05yc30f67d459d1a0e4@mail.gmail.com> Date: Mon, 17 Oct 2005 17:05:18 -0500 From: Scot Hetzel To: Wes Peters , freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org In-Reply-To: <20051017212748.GD71766@isis.sigpipe.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200510150015.j9F0ExKr085847@sakura.ninth-nine.com> <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> Cc: 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: Mon, 17 Oct 2005 22:05:21 -0000 On 10/17/05, Roman Neuhauser wrote: > Wes said: "I have to resort to 'make search'" which presumably means > he'd prefer to just ls /usr/ports/$emacs_category; while 'make > search' is a bearable interface (FMPOV), you can't beat a ls. > > Hey, what about materialized virtual categories? A bunch of > symlinks, and everyone's happy. Or is that too much for CVS? > It would probably be too much for CVS to handle, instead someone could modify bsd.port.mk to create the virtual category directories and then symbolicly link the ports into these categories. 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/ ). Also there would need to be another target that would remove all the symbolic links, that way you could re-create them without worrying about removed symbolic links pointing to non-existant ports. NOTE: Non of this code has been tested. If you want this feature, work on improving the code and submitting it as a patch to the PR database for Ports Managers to accept/reject. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.