aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-IPTCInfo
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 07:52:55 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 07:52:55 +0000
commite6c12b5d61ace20e4917579235fe304eee8af7fe (patch)
tree5fa23b20ad8ffff895127e8263c7603c4c64d76a /graphics/p5-Image-IPTCInfo
parent04e4da87590388d60f3e056ce5f86a0a4f7792a8 (diff)
downloadports-e6c12b5d61ace20e4917579235fe304eee8af7fe.tar.gz
ports-e6c12b5d61ace20e4917579235fe304eee8af7fe.zip
Add p5-Image-IPTCInfo 1.94, perl extension for extracting IPTC image
meta-data. PR: ports/101769 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=170559
Diffstat (limited to 'graphics/p5-Image-IPTCInfo')
-rw-r--r--graphics/p5-Image-IPTCInfo/Makefile32
-rw-r--r--graphics/p5-Image-IPTCInfo/distinfo3
-rw-r--r--graphics/p5-Image-IPTCInfo/pkg-descr15
-rw-r--r--graphics/p5-Image-IPTCInfo/pkg-plist10
4 files changed, 60 insertions, 0 deletions
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 <gslin@gslin.org>
+#
+# $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 <bsd.port.mk>
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