From e6c12b5d61ace20e4917579235fe304eee8af7fe Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Mon, 14 Aug 2006 07:52:55 +0000 Subject: [PATCH] Add p5-Image-IPTCInfo 1.94, perl extension for extracting IPTC image meta-data. PR: ports/101769 Submitted by: Gea-Suan Lin --- graphics/Makefile | 1 + graphics/p5-Image-IPTCInfo/Makefile | 32 ++++++++++++++++++++++++++++ graphics/p5-Image-IPTCInfo/distinfo | 3 +++ graphics/p5-Image-IPTCInfo/pkg-descr | 15 +++++++++++++ graphics/p5-Image-IPTCInfo/pkg-plist | 10 +++++++++ 5 files changed, 61 insertions(+) create mode 100644 graphics/p5-Image-IPTCInfo/Makefile create mode 100644 graphics/p5-Image-IPTCInfo/distinfo create mode 100644 graphics/p5-Image-IPTCInfo/pkg-descr create mode 100644 graphics/p5-Image-IPTCInfo/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index 91e20df82b52..8afd1f52af22 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -442,6 +442,7 @@ SUBDIR += p5-Image-Compare SUBDIR += p5-Image-ExifTool SUBDIR += p5-Image-Grab + SUBDIR += p5-Image-IPTCInfo SUBDIR += p5-Image-Imlib2 SUBDIR += p5-Image-Info SUBDIR += p5-Image-MetaData-GQview diff --git a/graphics/p5-Image-IPTCInfo/Makefile b/graphics/p5-Image-IPTCInfo/Makefile new file mode 100644 index 000000000000..ac71dbfe9076 --- /dev/null +++ b/graphics/p5-Image-IPTCInfo/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-Image-IPTCInfo +# Date created: 2006-08-11 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Image-IPTCInfo +PORTVERSION= 1.94 +CATEGORIES= graphics perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Image +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Perl extension for extracting IPTC image meta-data + +PERL_CONFIGURE= yes + +MAN3= Image::IPTCInfo.3 + +post-patch: + ${RM} -f ${WRKSRC}/._* + ${PERL} -pi -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/demo.pl + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo_images/* ${EXAMPLESDIR} +.endif + +.include diff --git a/graphics/p5-Image-IPTCInfo/distinfo b/graphics/p5-Image-IPTCInfo/distinfo new file mode 100644 index 000000000000..ea13865d7d0e --- /dev/null +++ b/graphics/p5-Image-IPTCInfo/distinfo @@ -0,0 +1,3 @@ +MD5 (Image-IPTCInfo-1.94.tar.gz) = 50617c3cd97b7f42a7533e635823b230 +SHA256 (Image-IPTCInfo-1.94.tar.gz) = d90e5359187eb4abbfccec3f3b5492cc1a85f0b94d3b67c47adb01fd5f7dbccd +SIZE (Image-IPTCInfo-1.94.tar.gz) = 37413 diff --git a/graphics/p5-Image-IPTCInfo/pkg-descr b/graphics/p5-Image-IPTCInfo/pkg-descr new file mode 100644 index 000000000000..50de91bfd646 --- /dev/null +++ b/graphics/p5-Image-IPTCInfo/pkg-descr @@ -0,0 +1,15 @@ +Ever wish you add information to your photos like a caption, the place +you took it, the date, and perhaps even keywords and categories? You +already can. The International Press Telecommunications Council (IPTC) +defines a format for exchanging meta-information in news content, and +that includes photographs. You can embed all kinds of information in +your images. The trick is putting it to use. + +That's where this IPTCInfo Perl module comes into play. You can embed +information using many programs, including Adobe Photoshop, and +IPTCInfo will let your web server -- and other automated server +programs -- pull it back out. You can use the information directly in +Perl programs, export it to XML, or even export SQL statements ready +to be fed into a database. + +WWW: http://search.cpan.org/dist/Image-IPTCInfo/ diff --git a/graphics/p5-Image-IPTCInfo/pkg-plist b/graphics/p5-Image-IPTCInfo/pkg-plist new file mode 100644 index 000000000000..4cda905c19cf --- /dev/null +++ b/graphics/p5-Image-IPTCInfo/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +%%PORTDOCS%%%%EXAMPLESDIR%%/burger_van.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/dog.jpg +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/IPTCInfo/.packlist +%%SITE_PERL%%/Image/IPTCInfo.pm +%%SITE_PERL%%/Image/demo.pl +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%% +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/IPTCInfo +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image +@dirrmtry %%SITE_PERL%%/Image