SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,22 @@
COMMENT = parameterizable packages
DISTNAME = Package-Variant-1.003002
CATEGORIES = devel
MAINTAINER = Andrew Hewus Fresh <afresh1@openbsd.org>
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
PKG_ARCH = *
RUN_DEPENDS = devel/p5-Import-Into>=1.0 \
devel/p5-Module-Runtime>=0.013 \
devel/p5-strictures>=2.0
TEST_DEPENDS = devel/p5-Test-Fatal
# Addtitional depends to avoid skipping tests
TEST_DEPENDS += devel/p5-Moo
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Package-Variant-1.003002.tar.gz) = su2EnS9M3WZGdRLao/FDJm1t+BDF+ukXWyUsV7wVNtw=
SIZE (Package-Variant-1.003002.tar.gz) = 10518

View file

@ -0,0 +1,10 @@
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.

View file

@ -0,0 +1,3 @@
${P5SITE}/Package/
${P5SITE}/Package/Variant.pm
@man man/man3p/Package::Variant.3p