From nobody Tue Jan 28 17:06:10 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YjBWl3VFHz5lmQ7; Tue, 28 Jan 2025 17:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjBWk6TFqz44Bf; Tue, 28 Jan 2025 17:06:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enDL7pAjcMZSqh+E3QRMHh+7WZT3dH1nEJaEaw9Kt14=; b=htemJP5GEYYeHYFBdwO+OWw0my04QI27sQA+3tD89LkJ7soe0Q9aRyg6oXmeELWZuIdGoW 9GunzjYV9BobDdrpmR9qtps31dO5jGfl4Fpti8kqMYzE1QcJokVCyKxe8xz0hYpvzfWcNT x72UOZPJlarbXvq+euYnJu7cXTLzcOGEZEPSjjmrbjEVDwjKTiQn21PJ5XFDEJEQBAh+ik Hzqdf43vnfCcv9RI+hZhp+O6CmVL8ahVyp1JE79GlIDLUFD3NZCY7edqRA8rCWFyuRU5E7 gUDNB6o0u+MbjpNLWCy303brvdlJl75P9+L0V4gKa5tFrqWA0bxQzcafXX022w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enDL7pAjcMZSqh+E3QRMHh+7WZT3dH1nEJaEaw9Kt14=; b=snZcPLzaUC+P1A4ItXdiEv3F/YfvPeUHXMz3HZ7EgoC1UD+XO1kID+MrYQa0fiUJkIeqBd kTMUS6LvevXWEsKIYGOUXbU6aYMlIcgAEMk9xyQe1S/3glGfTJi0BxoAUydfB8R/7OH7xe q6ojhDHaDjfAwQH0QmPpYM8QVm/X9RkUNVMXd/lXhwPXjnX3/GQRjY7wrrnL/gYv56m5D/ kXqAh7+nB/DFDQFeLJrTTEkX5rF4wyPjU1i26J+/LOya6z79uQNCsrDi/jA3qqHK3LAfUG vuSYDWE2uLUg1eyAhihii+TF/HE7mUnFMaM/BxjzHAC6Rj7lfkMZoyA6GYYRkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738083971; a=rsa-sha256; cv=none; b=MPqFJ14Ui6NXXcfzaKe6wCFdsgW0qT3xgI8eRXdlOLEV5DpCuG2JD/hxcf4flioa7MG1Jm 2vpAS8FRnsDthaJIhVH76lRTyjD19oYRoXJn5AcMTzRMxJLdman/SFJ8krQAwUEzv1cjzb J3dLpIpntf0gJ+JA85ubTNnFQJGFNc2B2IHWk6Nj2sG96MmOonvN9//a9i+sWC8baaqtvo lU1RbEx0YaGvOEFnFI5+Nxjwrt/+bTMVv10BJhlY6LA1PZ1aB4lsG9lmShkiA8uswaWTU2 UK365k6AWdAXCeZKpgk/jvTnSA5r7stY73nOx0jt5C+2UYUY/Zz5QIxuELz+bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YjBWk5zL8z7wp; Tue, 28 Jan 2025 17:06:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50SH6AJ9061615; Tue, 28 Jan 2025 17:06:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50SH6AvB061612; Tue, 28 Jan 2025 17:06:10 GMT (envelope-from git) Date: Tue, 28 Jan 2025 17:06:10 GMT Message-Id: <202501281706.50SH6AvB061612@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e05d39136c72 - main - math/p5-PDL-Graphics-PLplot: Add p5-PDL-Graphics-PLplot 0.84 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e05d39136c72bfb5ae0ccf781cb3412a0fc800fd Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e05d39136c72bfb5ae0ccf781cb3412a0fc800fd commit e05d39136c72bfb5ae0ccf781cb3412a0fc800fd Author: Po-Chuan Hsieh AuthorDate: 2025-01-28 17:03:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-01-28 17:03:19 +0000 math/p5-PDL-Graphics-PLplot: Add p5-PDL-Graphics-PLplot 0.84 PDL::Graphics::PLplot is the PDL interface to the PLplot graphics library. It provides a familiar 'perlish' Object Oriented interface as well as access to the low-level PLplot commands from the C-API. --- math/Makefile | 1 + math/p5-PDL-Graphics-PLplot/Makefile | 25 +++++++++++++++++ math/p5-PDL-Graphics-PLplot/distinfo | 3 +++ .../files/patch-Alien-PLplot | 31 ++++++++++++++++++++++ math/p5-PDL-Graphics-PLplot/pkg-descr | 3 +++ math/p5-PDL-Graphics-PLplot/pkg-plist | 4 +++ 6 files changed, 67 insertions(+) diff --git a/math/Makefile b/math/Makefile index f389ba09b1d3..056c32a8f593 100644 --- a/math/Makefile +++ b/math/Makefile @@ -822,6 +822,7 @@ SUBDIR += p5-PDL-GSL SUBDIR += p5-PDL-Graphics-IIS SUBDIR += p5-PDL-Graphics-Limits + SUBDIR += p5-PDL-Graphics-PLplot SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan diff --git a/math/p5-PDL-Graphics-PLplot/Makefile b/math/p5-PDL-Graphics-PLplot/Makefile new file mode 100644 index 000000000000..a82ba8cf4d26 --- /dev/null +++ b/math/p5-PDL-Graphics-PLplot/Makefile @@ -0,0 +1,25 @@ +PORTNAME= PDL-Graphics-PLplot +PORTVERSION= 0.84 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Object-oriented interface from perl/PDL to the PLPLOT plotting library +WWW= https://metacpan.org/dist/PDL-Graphics-PLplot + +BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \ + ${RUN_DEPENDS} +LIB_DEPENDS= libplplot.so:math/plplot +RUN_DEPENDS= p5-PDL>=2.083:math/p5-PDL + +USES= perl5 +USE_PERL5= configure + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/Graphics/PLplot/PLplot.so + +.include diff --git a/math/p5-PDL-Graphics-PLplot/distinfo b/math/p5-PDL-Graphics-PLplot/distinfo new file mode 100644 index 000000000000..be7fc7992c7a --- /dev/null +++ b/math/p5-PDL-Graphics-PLplot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671139 +SHA256 (PDL-Graphics-PLplot-0.84.tar.gz) = 9c3986c93c9936f4534b9265b7223ceaee48a0f35895e5d44329465aeb782d20 +SIZE (PDL-Graphics-PLplot-0.84.tar.gz) = 192581 diff --git a/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot b/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot new file mode 100644 index 000000000000..e04347f75386 --- /dev/null +++ b/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot @@ -0,0 +1,31 @@ +--- Makefile.PL.orig 2024-04-21 20:36:49 UTC ++++ Makefile.PL +@@ -7,7 +7,6 @@ use Devel::CheckLib; + + use PDL::Core::Dev; + use Devel::CheckLib; +-use Alien::PLplot; + + my $PL_MAJOR = 5; # minimum required + my $PL_MINOR = 13; +@@ -31,9 +30,9 @@ sub probe { + } + + sub probe { +- $header = (Alien::PLplot->inline_auto_include)->[0]; +- $plplot_include_path = Alien::PLplot->cflags; +- $libs = Alien::PLplot->libs; ++ $header = 'plplot.h'; ++ $plplot_include_path = '-I%%LOCALBASE%%/include/plplot'; ++ $libs = '-L%%LOCALBASE%%/lib -lplplot'; + } + + probe; +@@ -77,7 +76,6 @@ $hash{CONFIGURE_REQUIRES} = { + $hash{CONFIGURE_REQUIRES} = { + 'PDL' => '2.083', # output OtherPars + 'Devel::CheckLib' => 0, +- 'Alien::PLplot' => 0, + }; + # $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this. + $hash{TEST_REQUIRES} = { diff --git a/math/p5-PDL-Graphics-PLplot/pkg-descr b/math/p5-PDL-Graphics-PLplot/pkg-descr new file mode 100644 index 000000000000..118678e53f7f --- /dev/null +++ b/math/p5-PDL-Graphics-PLplot/pkg-descr @@ -0,0 +1,3 @@ +PDL::Graphics::PLplot is the PDL interface to the PLplot graphics library. It +provides a familiar 'perlish' Object Oriented interface as well as access to the +low-level PLplot commands from the C-API. diff --git a/math/p5-PDL-Graphics-PLplot/pkg-plist b/math/p5-PDL-Graphics-PLplot/pkg-plist new file mode 100644 index 000000000000..39ec584c3e55 --- /dev/null +++ b/math/p5-PDL-Graphics-PLplot/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_ARCH%%/PDL/Demos/PLplot.pm +%%SITE_ARCH%%/PDL/Graphics/PLplot.pm +%%SITE_ARCH%%/auto/PDL/Graphics/PLplot/PLplot.so +%%PERL5_MAN3%%/PDL::Graphics::PLplot.3.gz