Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 09:39:45 +0200
From:      Torsten Zuehlsdorff <mailinglists@toco-domains.de>
To:        anatoly@kazanfieldhockey.ru, freebsd-ports@freebsd.org
Subject:   Re: gentoo's package.provided equivalent?
Message-ID:  <57021A41.40703@toco-domains.de>
In-Reply-To: <4b65ec30864d548eaa7efde0c3dd01cf.squirrel@mail.kazanfieldhockey.ru>
References:  <4b65ec30864d548eaa7efde0c3dd01cf.squirrel@mail.kazanfieldhockey.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03.04.2016 03:54, anatoly@kazanfieldhockey.ru wrote:
> Sometimes i need to build specific version of some library from source,
> not from ports. How can I tell port system about it. There was no problem
> with old pkg_, because I was able just to put dummy directory into
> /var/db/pkg and port system knows it is installed (although maybe that was
> ugly hack). But what I can do with pkgng now? For example, Gentoo linux
> has /etc/portage/profile/package.provided file for such a situation. Is
> there some equivalent?

The request is a bit vague:

Do you need a specific version which were in the ports in the past? Than 
you can use a svn/git portstree version, check out the old version and 
install it from the ports like always.

Do you need a specific version which was never in the ports? Than you 
could write a simple port for this version. (Which is always an option)

If you want to register a port build from source, but not from portstree 
have a look at pkg-register or:
$ pkg help register

I have no experience with it, but this just seems to fit your request.

Greetings,
Torsten



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