aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1996-10-24 16:20:04 +0800
committerjfitz <jfitz@FreeBSD.org>1996-10-24 16:20:04 +0800
commit55d6f5c28aa0d2fa1f53b24bff5bc57e76262ee6 (patch)
tree2e003549ee1d56521e33b2cf89b5dccdc9c7bb04 /graphics
parent4e7e51c9c4026cc6266d69981029cfcaf6502566 (diff)
downloadfreebsd-ports-gnome-55d6f5c28aa0d2fa1f53b24bff5bc57e76262ee6.tar.gz
freebsd-ports-gnome-55d6f5c28aa0d2fa1f53b24bff5bc57e76262ee6.tar.zst
freebsd-ports-gnome-55d6f5c28aa0d2fa1f53b24bff5bc57e76262ee6.zip
perl5 module to determine the size of images in several common formats.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Image-Size/Makefile36
-rw-r--r--graphics/p5-Image-Size/distinfo1
-rw-r--r--graphics/p5-Image-Size/pkg-comment1
-rw-r--r--graphics/p5-Image-Size/pkg-descr17
-rw-r--r--graphics/p5-Image-Size/pkg-plist13
5 files changed, 68 insertions, 0 deletions
diff --git a/graphics/p5-Image-Size/Makefile b/graphics/p5-Image-Size/Makefile
new file mode 100644
index 000000000000..1023642275df
--- /dev/null
+++ b/graphics/p5-Image-Size/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-Image-Size
+# Version required: 1.2
+# Date created: October 20th 1996
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= Image-Size-1.2
+PKGNAME= p5-Image-Size-1.2
+CATEGORIES+= graphics www
+MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Image/ \
+ ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Image/ \
+ ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Image/ \
+ ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Image/ \
+ ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Image/ \
+ ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Image/
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+ @ for file in Image::Size; do \
+ gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
+ done
+ @ for file in imgsize; do \
+ gzip -9nf ${PREFIX}/man/man1/$$file.1; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Image-Size/distinfo b/graphics/p5-Image-Size/distinfo
new file mode 100644
index 000000000000..a24849e0f94e
--- /dev/null
+++ b/graphics/p5-Image-Size/distinfo
@@ -0,0 +1 @@
+MD5 (Image-Size-1.2.tar.gz) = 76454057468037434ed492ad8e984869
diff --git a/graphics/p5-Image-Size/pkg-comment b/graphics/p5-Image-Size/pkg-comment
new file mode 100644
index 000000000000..a73b65439227
--- /dev/null
+++ b/graphics/p5-Image-Size/pkg-comment
@@ -0,0 +1 @@
+perl5 module to determine the size of images in several common formats.
diff --git a/graphics/p5-Image-Size/pkg-descr b/graphics/p5-Image-Size/pkg-descr
new file mode 100644
index 000000000000..f49dd98554c1
--- /dev/null
+++ b/graphics/p5-Image-Size/pkg-descr
@@ -0,0 +1,17 @@
+Image::Size is a library based on the image-sizing code in the wwwimagesize
+script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to
+IMG directives. Image::Size has generalized that code to return a raw (X, Y)
+pair, and included wrappers to pre-format that output into either HTML or a
+set of attribute pairs suitable for the CGI.pm library by Lincoln Stein.
+Currently, Image::Size can size images in XPM, XBM, GIF, JPEG and PNG
+formats.
+
+I did this because my WWW server generates a lot of documents on demand
+rather than keeping them in static files. These documents not only use
+directional icons and buttons, but other graphics to annotate and highlight
+sections of the text. Without size attributes, browsers cannot render the
+text of a page until the image data is loaded and the size known for layout.
+This library enables scripts to size their images at run-time and include
+that as part of the generated HTML. Or for any other utility that uses and
+manipulates graphics. The idea of the basic interface + wrappers is to not
+limit the programmer to a certain data format.
diff --git a/graphics/p5-Image-Size/pkg-plist b/graphics/p5-Image-Size/pkg-plist
new file mode 100644
index 000000000000..16d223c378bc
--- /dev/null
+++ b/graphics/p5-Image-Size/pkg-plist
@@ -0,0 +1,13 @@
+bin/imgsize
+lib/perl5/man/man3/Image::Size.3.gz
+lib/perl5/site_perl/Image/Size.pm
+lib/perl5/site_perl/auto/Image/Size/autosplit.ix
+lib/perl5/site_perl/auto/Image/Size/gifsize.al
+lib/perl5/site_perl/auto/Image/Size/jpegsize.al
+lib/perl5/site_perl/auto/Image/Size/pngsize.al
+lib/perl5/site_perl/auto/Image/Size/xbmsize.al
+lib/perl5/site_perl/auto/Image/Size/xpmsize.al
+man/man1/imgsize.1.gz
+lib/perl5/site_perl/i386-freebsd/auto/Image/Size/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Image/Size
+@dirrm lib/perl5/site_perl/auto/Image/Size