BSD Ports

devel/p5-Package-Variant 1.003002 OpenBSD

parameterizable packages

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Andrew Hewus Fresh <[email protected]>
Categories
devel, perl5

Description

This module allows you to build a variable package that contains a package template and can use it to build variant packages at runtime.

Your variable package will export a subroutine which will build a variant package, combining its arguments with the template, and return the name of the new variant package.

The implementation does not care about what kind of packages it builds, be they simple function exporters, classes, singletons or something entirely different.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Package-Variant1.003002
FreeBSDdevel/p5-Package-Variant1.003002_1
NetBSDdevel/p5-Package-Variant1.003002nb11
DragonFlydevel/p5-Package-Variant1.003002_1
MidnightBSDdevel/p5-Package-Variant1.003002_1
HardenedBSDdevel/p5-Package-Variant1.003002_1
GhostBSDdevel/p5-Package-Variant1.003002_1

Install

Binary package:

pkg_add p5-Package-Variant

From the ports tree:

cd /usr/ports/devel/p5-Package-Variant && make install

Dependencies

Run dependencies 3