sortix-mirror/ports/perl/perl.port
Jonas 'Sortie' Termansen 9588b0d3db Add ports to the Sortix repository.
This change imports the ports collection from the former porttix and srctix
repositories and converts them to port(5) files with metadata pointing to
the upstream release tarballs with patches checked into this repository.
Ports are now developed and versioned along with the operating system and
are automatically built per the PACKAGES environment variable. The patches
are licensed under the same license as the relevant ports.

Tix has gained support for the new port(5) format. tix-port(8) is the new
high level ports build even point that handles downloading pstream releases
into the new mirror cache directory, applying the patches, building the port
with the lower-level tix-build(8), and finally installing the binary
package. The new tix-vars(8) program parses port(5) files and the new
tix-rmdiff(8) program produces input for tix-rmpatch(8).

The old doc/ directory is discontinued in favor of manual pages documenting
the new ports system.

The obsolete porttix-create(8) and srctix-create(8) programs are removed.
2022-06-13 22:29:53 +02:00

26 lines
970 B
Text

NAME=perl
BUILD_LIBRARIES=
VERSION=5.32.0
DISTNAME=$NAME-$VERSION
COMPRESSION=tar.gz
ARCHIVE=$DISTNAME.$COMPRESSION
SHA256SUM=efeb1ce1f10824190ad1cadbcccf6fdb8a5d37007d0100d2d9ae5f2b5900c0b4
UPSTREAM_SITE=https://www.cpan.org/src/5.0
UPSTREAM_ARCHIVE=$ARCHIVE
VERSION_2=1.3.4
DISTNAME_2=perl-cross-$VERSION_2
COMPRESSION_2=tar.gz
ARCHIVE_2=$DISTNAME_2.$COMPRESSION_2
SHA256SUM_2=755aa0ca8141a942188a269564f86c3c82349f82c346ed5c992495d7f35138ba
UPSTREAM_SITE_2=https://github.com/arsv/perl-cross/releases/download/$VERSION_2
UPSTREAM_ARCHIVE_2=$ARCHIVE_2
BUILD_SYSTEM=configure
CONFIGURE_ARGS=--all-static
DIRTY_FILE=config.sh
POST_INSTALL=../perl.post-install
# This port uses upstream perl with perl-cross extracted onto it. The initial
# build using perl-cross will apply additionaly patches, and these difference
# are included in the patch for this port. The changes original to Sortix either
# say "PATCH:" or mention Sortix and the remainder are from perl-cross.