summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/pngcrush/Makefile19
-rw-r--r--graphics/pngcrush/files/md53
-rw-r--r--graphics/pngcrush/pkg/COMMENT1
-rw-r--r--graphics/pngcrush/pkg/DESCR9
-rw-r--r--graphics/pngcrush/pkg/PLIST2
5 files changed, 34 insertions, 0 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile
new file mode 100644
index 00000000000..2e841b6cda0
--- /dev/null
+++ b/graphics/pngcrush/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/07 19:56:21 rh Exp $
+#
+
+DISTNAME= pngcrush-1.2.1
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.xnot.com/pmt/pub/pngcrush/src/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.xnot.com/pmt/pngcrush/
+
+NO_CONFIGURE= YES
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush *.c -lm
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/pngcrush/files/md5 b/graphics/pngcrush/files/md5
new file mode 100644
index 00000000000..abb6d061b7a
--- /dev/null
+++ b/graphics/pngcrush/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/07 19:56:21 rh Exp $
+
+MD5 (pngcrush-1.2.1.tar.gz) = 7bed759a4d243ac3e050bf9a7b18210b
diff --git a/graphics/pngcrush/pkg/COMMENT b/graphics/pngcrush/pkg/COMMENT
new file mode 100644
index 00000000000..20c4cf9c64a
--- /dev/null
+++ b/graphics/pngcrush/pkg/COMMENT
@@ -0,0 +1 @@
+an optimizer for PNG (Portable Network Graphics) files.
diff --git a/graphics/pngcrush/pkg/DESCR b/graphics/pngcrush/pkg/DESCR
new file mode 100644
index 00000000000..e3d0b8389ba
--- /dev/null
+++ b/graphics/pngcrush/pkg/DESCR
@@ -0,0 +1,9 @@
+ Pngcrush is an optimizer for PNG (Portable Network Graphics) files. It can
+be run from the commandline. Its main purpose is to reduce the size of the
+PNG IDAT datastream by trying various compression levels an PNG filter
+methods. It also can be used to remove unwanted ancillary chunks, or to
+add certain chunks including gAMA, tRNS, and textual chunks.
+
+ Pngcrush is open source and may be used by anyone without fee.
+
+ The author of pngcrush is Glenn Randers-Pehrson, randeg@alum.rpi.edu
diff --git a/graphics/pngcrush/pkg/PLIST b/graphics/pngcrush/pkg/PLIST
new file mode 100644
index 00000000000..6c561c08095
--- /dev/null
+++ b/graphics/pngcrush/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/07 19:56:21 rh Exp $
+bin/pngcrush