aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 15:52:55 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 15:52:55 +0800
commitfe630d57ae946e6c8a90147fda08982f852a5833 (patch)
treead8ca067f6d77838eab06f992c2344211b15de25 /graphics
parent17330d60c6c5936971f2970ab86af66404703fb3 (diff)
downloadfreebsd-ports-gnome-fe630d57ae946e6c8a90147fda08982f852a5833.tar.gz
freebsd-ports-gnome-fe630d57ae946e6c8a90147fda08982f852a5833.tar.zst
freebsd-ports-gnome-fe630d57ae946e6c8a90147fda08982f852a5833.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>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-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
5 files changed, 61 insertions, 0 deletions
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 <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