From owner-freebsd-ports@FreeBSD.ORG Wed Apr 19 23:22:55 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 6089E16A407 for ; Wed, 19 Apr 2006 23:22:55 +0000 (UTC) (envelope-from yontege@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0353543D4C for ; Wed, 19 Apr 2006 23:22:54 +0000 (GMT) (envelope-from yontege@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1032) id D6BA65B77D; Wed, 19 Apr 2006 16:22:54 -0700 (PDT) Date: Wed, 19 Apr 2006 16:22:54 -0700 From: "Ian A. Tegebo" To: Ion-Mihai Tetcu Message-ID: <20060419232254.GE21507@rescomp.berkeley.edu> References: <20060419213600.GD21507@rescomp.berkeley.edu> <20060420005925.2f409d18@it.buh.tecnik93.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060420005925.2f409d18@it.buh.tecnik93.com> User-Agent: Mutt/1.5.9i Cc: freebsd-ports@freebsd.org Subject: Re: Maintaining Site Specific 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: Wed, 19 Apr 2006 23:22:55 -0000 On Thu, Apr 20, 2006 at 12:59:25AM +0300, Ion-Mihai Tetcu wrote: > On Wed, 19 Apr 2006 14:36:00 -0700 > "Ian A. Tegebo" wrote: > > > I'm interested in maintaining a set of ports that install site specific > > files. I was hoping to set something up like Gentoo's Portage Overlay: > > > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5#doc_chap2 > > > > A coworker simply tried putting a custom port in > > /usr/ports/OURSITE/ourport but couldn't get indexing to work; does > > anyone have any experience doing something like this? I'm looking at /usr/ports/Mk/bsd.port.mk for some more clues. > You need to add OURSITE to VALID_CATEGORIES, Do you mean do: VALID_CATEGORIES+= OURSITE in /usr/ports/Mk/bsd.port.mk? > OURSITE to SUBDIR in ports/Makefile and > ourport to SUBDIR in ports/OURSITE/Makefile The first part is clear but after looking in some example ports I couldn't find exactly what SUBDIR in ports/OURSITE/Makefile would do. I did come across /usr/ports/Tools/scripts/addport and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/ports.html so it seems I have some playing around to do. -- ian