diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-01-29 00:49:32 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-01-29 01:03:32 +0800 |
commit | 3f20f2ac70e41513ca143af94bd7706268b18dbb (patch) | |
tree | 79f2b5e78a5f1a5b52ebdd54a049add13c39ac22 | |
parent | math/p5-PDL-IO-ENVI: Add p5-PDL-IO-ENVI 2.097 (diff) |
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.
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-PDL-IO-GD/Makefile | 24 | ||||
-rw-r--r-- | math/p5-PDL-IO-GD/distinfo | 3 | ||||
-rw-r--r-- | math/p5-PDL-IO-GD/pkg-descr | 5 | ||||
-rw-r--r-- | math/p5-PDL-IO-GD/pkg-plist | 3 |
5 files changed, 36 insertions, 0 deletions
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 |