From owner-freebsd-ports@FreeBSD.ORG Sat Jul 23 19:31:42 2005 Return-Path: X-Original-To: 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 9069616A41F for ; Sat, 23 Jul 2005 19:31:42 +0000 (GMT) (envelope-from mwm-dated-1122579131.ef0996@mired.org) Received: from iimail.mindsync.com (internet-mail-service.net [216.240.47.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB13743D49 for ; Sat, 23 Jul 2005 19:31:41 +0000 (GMT) (envelope-from mwm-dated-1122579131.ef0996@mired.org) Received: from idiom.com (idiom.com [216.240.32.1]) by iimail.mindsync.com (Postfix) with ESMTP id B95553F30F for ; Sat, 23 Jul 2005 12:31:41 -0700 (PDT) Received: from mired.org (mwm@idiom [216.240.32.1]) by idiom.com (8.12.11/8.12.11) with SMTP id j6NJVf5Q011601 for ; Sat, 23 Jul 2005 12:31:41 -0700 (PDT) (envelope-from mwm-dated-1122579131.ef0996@mired.org) Received: (qmail 54159 invoked by uid 1001); 23 Jul 2005 19:32:11 -0000 Received: by localhost.mired.org (tmda-sendmail, from uid 1001); Sat, 23 Jul 2005 15:32:11 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17122.39739.280305.366684@bhuda.mired.org> Date: Sat, 23 Jul 2005 15:32:11 -0400 To: ports@FreeBSD.org X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) Cc: Subject: xemacs & emacs ports should tweak rc.conf. 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: Sat, 23 Jul 2005 19:31:42 -0000 In working on a port of Pymacs, I found Mk/bsd.emacs.mk. It sets a lot of useful variables based on the value of the EMACS_PORT_NAME variable, and provides hooks to control adding emacs to the ports various depends lists. It would seem that a fair number of ports don't know about this, and either depend on a specific version of emacs (and it's disconcerting to install a port, and have it start installing another emacs), or provide hooks for both emacs and xemacs. I'd like to propose that the various emacs ports set this variable in /etc/make.conf when they are installed. As precedent, the perl ports do this now. They also provide a "use.perl" script that does this, makes emacs a symlink to the appropriate binary, and cleans up the man path as well. A similar tool for emacsen might be useful, but I'm not at all sure of everything it should do. I'd be happy to take on doing this, if enough people - especially those with ports commit bits - thought it was a good idea. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.