Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 17:14:43 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469298 - in head/graphics: . p5-Image-PNG-Libpng
Message-ID:  <201805071714.w47HEheK000518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon May  7 17:14:43 2018
New Revision: 469298
URL: https://svnweb.freebsd.org/changeset/ports/469298

Log:
  New port: graphics/p5-Image-PNG-Libpng
  
  Image::PNG::Libpng is a Perl library for accessing the contents of
  PNG (Portable Network Graphics) images. Image::PNG::Libpng enables
  Perl to use the "libpng" library for reading and writing files in
  the PNG format.
  
  Image::PNG::Libpng consists of Perl subroutines which mirror the C
  functions in libpng, plus helper subroutines to make it easier to
  read and write PNG data in Perl.
  
  WWW: http://search.cpan.org/dist/Image-PNG-Libpng/
  
  PR:		227751
  Submitted by:	Greg Kennedy <kennedy.greg@gmail.com>

Added:
  head/graphics/p5-Image-PNG-Libpng/
  head/graphics/p5-Image-PNG-Libpng/Makefile   (contents, props changed)
  head/graphics/p5-Image-PNG-Libpng/distinfo   (contents, props changed)
  head/graphics/p5-Image-PNG-Libpng/pkg-descr   (contents, props changed)
  head/graphics/p5-Image-PNG-Libpng/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Mon May  7 17:06:00 2018	(r469297)
+++ head/graphics/Makefile	Mon May  7 17:14:43 2018	(r469298)
@@ -753,6 +753,7 @@
     SUBDIR += p5-Image-MetaData-JPEG
     SUBDIR += p5-Image-ObjectDetect
     SUBDIR += p5-Image-PBMlib
+    SUBDIR += p5-Image-PNG-Libpng
     SUBDIR += p5-Image-Pngslimmer
     SUBDIR += p5-Image-Sane
     SUBDIR += p5-Image-Scale

Added: head/graphics/p5-Image-PNG-Libpng/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Image-PNG-Libpng/Makefile	Mon May  7 17:14:43 2018	(r469298)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	Image-PNG-Libpng
+DISTVERSION=	0.45
+CATEGORIES=	graphics perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Perl interface to the C library "libpng"
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+LIB_DEPENDS=	libpng.so:graphics/png
+
+USES=		perl5
+USE_PERL5=	5.8.1+ configure
+
+post-patch:
+	${REINPLACE_CMD} -e 's|#  *INC  *=>  *$$inc|INC => "-I${LOCALBASE}/include"|' \
+		${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>

Added: head/graphics/p5-Image-PNG-Libpng/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Image-PNG-Libpng/distinfo	Mon May  7 17:14:43 2018	(r469298)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1524547415
+SHA256 (Image-PNG-Libpng-0.45.tar.gz) = 00424fbe28efe9978dc9c96877989be897a2e8ddb3132e63903c54ae0cb1c353
+SIZE (Image-PNG-Libpng-0.45.tar.gz) = 220492

Added: head/graphics/p5-Image-PNG-Libpng/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Image-PNG-Libpng/pkg-descr	Mon May  7 17:14:43 2018	(r469298)
@@ -0,0 +1,10 @@
+Image::PNG::Libpng is a Perl library for accessing the contents of
+PNG (Portable Network Graphics) images. Image::PNG::Libpng enables
+Perl to use the "libpng" library for reading and writing files in
+the PNG format.
+
+Image::PNG::Libpng consists of Perl subroutines which mirror the C
+functions in libpng, plus helper subroutines to make it easier to
+read and write PNG data in Perl.
+
+WWW: http://search.cpan.org/dist/Image-PNG-Libpng/

Added: head/graphics/p5-Image-PNG-Libpng/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Image-PNG-Libpng/pkg-plist	Mon May  7 17:14:43 2018	(r469298)
@@ -0,0 +1,9 @@
+%%SITE_ARCH%%/auto/Image/PNG/Libpng/Libpng.so
+%%SITE_ARCH%%/Image/PNG/Libpng.pm
+%%SITE_ARCH%%/Image/PNG/Const.pm
+%%SITE_ARCH%%/Image/PNG/Libpng.pod
+%%SITE_ARCH%%/Image/PNG/memory-test.pl
+%%PERL5_MAN1%%/pnginspect.1.gz
+%%PERL5_MAN3%%/Image::PNG::Const.3.gz
+%%PERL5_MAN3%%/Image::PNG::Libpng.3.gz
+bin/pnginspect



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805071714.w47HEheK000518>