From owner-freebsd-ports@FreeBSD.ORG Tue Oct 18 11:42:44 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 75AB216A41F; Tue, 18 Oct 2005 11:42:44 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F7A43D45; Tue, 18 Oct 2005 11:42:41 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j9IBgc9V042101; Tue, 18 Oct 2005 14:42:38 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j9IBgh4l066645; Tue, 18 Oct 2005 14:42:46 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <4354DF92.4050402@ebs.gr> Date: Tue, 18 Oct 2005 14:42:10 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vizion References: <200510150015.j9F0ExKr085847@sakura.ninth-nine.com> <20051017212748.GD71766@isis.sigpipe.cz> <790a9fff0510171505i4010cc05yc30f67d459d1a0e4@mail.gmail.com> <200510171522.17180.vizion@vizion.occoxmail.com> In-Reply-To: <200510171522.17180.vizion@vizion.occoxmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org, Wes Peters , Scot Hetzel , freebsd-ports@freebsd.org, freebsd-java@freebsd.org 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 11:42:44 -0000 Vizion wrote: > On Monday 17 October 2005 15:05, the author Scot Hetzel contributed to the > dialogue on- > Re: [SUGGEST] Reform eclipse and eclipse related ports: > > >>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 > > > > Would this provide an opportunity to have for example: > /usr/ports/eclipse > /usr/ports/eclipse/plugins/ > > so that the plugins could be selected for installation from make config > in /usr/ports and manage the installation of the plugins (rather similar to > what happens for php)? This can be done today, with an eclipse-plugins meta-port, similar to the php5-extensions one. I may even find some time to work on it. Cheers, Panagiotis