On 2018-02-19 17:25, Dan Mahoney (Gushi) wrote: > On Mon, 19 Feb 2018, blubee blubeeme wrote:
... > > For those of us requiring a perl module on a bunch of machines, we don't have > a good mechanism (outside of ports/pkg/poudriere) to build those modules and > get them out. One of the things pkgng lacks is the old ports "make pkg" > function -- in order to build an installable package, you pretty much must be > running poudriere. > No, with pkgng you have several ways to create a package from a port. On a system where the port is installed: $ mkdir -p $space/packages//All $ cd $space/packages $ pkg create -o $space/packages/All -x p5* # optional if you want to distribute your packages create the pkg indexes $ pkg repo . Now you have a repo with all your p5* packages, change "-x p5" to "-a" and you have a repo with all installed package, see man pkg-create(8) If you want to create a package directly in the directory of the port $ mkdir -p $space/packages/All $ sysrc -f /etc/make.conf PACKAGES="$space/packages" $ cd $PORT $ make package Now you have one package in $space/packages/All and one in $PORT/work/pkg _______________________________________________ firstname.lastname@example.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"