Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 16:22:54 -0700
From:      "Ian A. Tegebo" <yontege@rescomp.berkeley.edu>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Maintaining Site Specific Ports
Message-ID:  <20060419232254.GE21507@rescomp.berkeley.edu>
In-Reply-To: <20060420005925.2f409d18@it.buh.tecnik93.com>
References:  <20060419213600.GD21507@rescomp.berkeley.edu> <20060420005925.2f409d18@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <yontege@rescomp.berkeley.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419232254.GE21507>