git: 3f20f2ac70e4 - main - math/p5-PDL-IO-GD: Add p5-PDL-IO-GD 2.102
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:06:15 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f20f2ac70e41513ca143af94bd7706268b18dbb commit 3f20f2ac70e41513ca143af94bd7706268b18dbb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-28 16:49:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-28 17:03:32 +0000 math/p5-PDL-IO-GD: Add p5-PDL-IO-GD 2.102 PDL::IO::GD is the "General Interface" for the PDL::IO::GD library, and is actually several years old at this point (read: stable). The general version just provides several image IO utility functions you can use with ndarray variables. It's deceptively useful, however. --- math/Makefile | 1 + math/p5-PDL-IO-GD/Makefile | 24 ++++++++++++++++++++++++ math/p5-PDL-IO-GD/distinfo | 3 +++ math/p5-PDL-IO-GD/pkg-descr | 5 +++++ math/p5-PDL-IO-GD/pkg-plist | 3 +++ 5 files changed, 36 insertions(+) diff --git a/math/Makefile b/math/Makefile index 34e0a475096e..701d685179c7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -826,6 +826,7 @@ SUBDIR += p5-PDL-IO-Browser SUBDIR += p5-PDL-IO-Dicom SUBDIR += p5-PDL-IO-ENVI + SUBDIR += p5-PDL-IO-GD SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan diff --git a/math/p5-PDL-IO-GD/Makefile b/math/p5-PDL-IO-GD/Makefile new file mode 100644 index 000000000000..b4b888dc8cf8 --- /dev/null +++ b/math/p5-PDL-IO-GD/Makefile @@ -0,0 +1,24 @@ +PORTNAME= PDL-IO-GD +PORTVERSION= 2.102 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Interface to the GD image library +WWW= https://metacpan.org/dist/PDL-IO-GD + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +LIB_DEPENDS= libgd.so:graphics/gd +RUN_DEPENDS= p5-PDL>=2.094:math/p5-PDL + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/IO/GD/GD.so + +.include <bsd.port.mk> diff --git a/math/p5-PDL-IO-GD/distinfo b/math/p5-PDL-IO-GD/distinfo new file mode 100644 index 000000000000..d8525441e67a --- /dev/null +++ b/math/p5-PDL-IO-GD/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671147 +SHA256 (PDL-IO-GD-2.102.tar.gz) = 824e23654c1bfab008a60cf5f626b3fcafab05b7752348860a32683a6ef72584 +SIZE (PDL-IO-GD-2.102.tar.gz) = 28054 diff --git a/math/p5-PDL-IO-GD/pkg-descr b/math/p5-PDL-IO-GD/pkg-descr new file mode 100644 index 000000000000..30e7c1ad750f --- /dev/null +++ b/math/p5-PDL-IO-GD/pkg-descr @@ -0,0 +1,5 @@ +PDL::IO::GD is the "General Interface" for the PDL::IO::GD library, and is +actually several years old at this point (read: stable). + +The general version just provides several image IO utility functions you can use +with ndarray variables. It's deceptively useful, however. diff --git a/math/p5-PDL-IO-GD/pkg-plist b/math/p5-PDL-IO-GD/pkg-plist new file mode 100644 index 000000000000..81fc4d2e4d65 --- /dev/null +++ b/math/p5-PDL-IO-GD/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/PDL/IO/GD.pm +%%SITE_ARCH%%/auto/PDL/IO/GD/GD.so +%%PERL5_MAN3%%/PDL::IO::GD.3.gz