From owner-freebsd-ports@FreeBSD.ORG Sun Oct 8 02:32:09 2006 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 D115416A403 for ; Sun, 8 Oct 2006 02:32:09 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C23F43D4C for ; Sun, 8 Oct 2006 02:32:09 +0000 (GMT) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 2D65633CC5; Sun, 8 Oct 2006 04:32:08 +0200 (CEST) Date: Sun, 8 Oct 2006 04:32:08 +0200 From: Lars Engels To: Florent Thoumie Message-ID: <20061008023207.GC62285@e.0x20.net> References: <20061005083356.GA1083@jayce.zen.inc> <1160038831.26384.5.camel@localhost> <452507E1.7060400@delphij.net> <1160055123.45511.8.camel@mayday.esat.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline In-Reply-To: <1160055123.45511.8.camel@mayday.esat.net> X-Editor: VIM - Vi IMproved 7.0 User-Agent: Mutt/1.5.11 Cc: VANHULLEBUS Yvan , LI Xin , freebsd-ports@freebsd.org Subject: Re: Ethereal not listed 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: Sun, 08 Oct 2006 02:32:10 -0000 --d01dLTUuW90fS44H Content-Type: multipart/mixed; boundary="eRtJSFbw+EEWtPj3" Content-Disposition: inline --eRtJSFbw+EEWtPj3 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 05, 2006 at 02:32:03PM +0100, Florent Thoumie wrote: > On Thu, 2006-10-05 at 21:25 +0800, LI Xin wrote: > > Florent Thoumie wrote: > >=20 > > I think teaching ${PORTSDIR}/Makefile about how to do 'make search=3D' = on > > MOVED as well might be good idea, though :-) >=20 > Maybe, I don't use 'make search'. Patches welcome, as usual :-) I also prefer 'make quicksearch' ;-) Attached is a patch for Mk/bsd.port.subdir.mk that allows to 'make search' in MOVED as well (activated by default) if one uses 'name=3D'. To disable searching in MOVED use 'make PORTSEARCH_MOVED=3D0 search'. Sample output: # make search name=3Dethereal Port: net/ethereal Moved: net/wireshark Date: 2006-07-17 Reason: Project name has changed Port: net/ethereal-lite Moved: net/wireshark-lite Date: 2006-07-17 Reason: Project name has changed [...] Any comments are welcome. -Lars --eRtJSFbw+EEWtPj3 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename="search_moved.patch" Content-Transfer-Encoding: quoted-printable --- bsd.port.subdir.mk.orig Sun Oct 8 01:18:03 2006 +++ bsd.port.subdir.mk Sun Oct 8 04:21:28 2006 @@ -271,6 +271,8 @@ .else INDEXFILE?=3D INDEX .endif +MOVEDDIR?=3D ${PORTSDIR} +MOVEDFILE?=3D MOVED =20 HTMLIFY=3D sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/