[PC-BSD Pbi-dev] How to make a PBI with a combination of ports?

Hakisho Nukama nukama at googlemail.com
Mon Feb 13 03:09:47 PST 2012


Am 13. Februar 2012 10:21 schrieb Jeff <dejamuse at yahoo.com>:
>
> I don't think Easy PBI is setup to work with metaports since as you say
> they're just a collection of dependencies.
>
> I couldn't find any metaport for Apache, PHP, and PhpMyAdmin, in any case.
> I would have to make one.  I believe this is the way to do it:
> /usr/ports/ports-mgmt/wanted-ports/
>
> I could build the PBI manually without using Easy PBI, but I'm lazy and I
> figure other people will want to combine existing ports into a single PBI at
> some point as well.
>
>
> ________________________________
> From: arrowdodger <6yearold at gmail.com>
> To: Jeff <dejamuse at yahoo.com>
> Cc: "pbi-dev at lists.pcbsd.org" <pbi-dev at lists.pcbsd.org>
> Sent: Monday, February 13, 2012 5:06 PM
> Subject: Re: [PC-BSD Pbi-dev] How to make a PBI with a combination of ports?
>
> On Mon, Feb 13, 2012 at 1:52 PM, Jeff <dejamuse at yahoo.com> wrote:
>
> In order to build a PBI for PhpMyAdmin, I need to include a webserver like
> Apache, Nginx, or Lighttpd, and PHP.
>
> It doesn't seem like EasyPBI is setup to build a PBI from multiple ports.
>
> Can anyone explain how to do this?
>
>
> Let me guess - you need to create meta-port for this. Meta-port is a simple
> port, which doesn't install anything, but depends on some other ports.
>
>
>
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev
>

Specify each additional port for your PBI in pbi.conf with following excerpt
from http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide and
make sure a used variable is exported.

# Ports to build before / after
PBI_MKPORTBEFORE=""
PBI_MKPORTAFTER="audio/esound x11-fonts/dejavu x11-themes/qtcurve-gtk2
devel/gconf2 www/firefox-i18n"


More information about the Pbi-dev mailing list