summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jpegquality/DESCR2
-rw-r--r--graphics/jpegquality/Makefile31
-rw-r--r--graphics/jpegquality/PLIST2
-rw-r--r--graphics/jpegquality/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/graphics/jpegquality/DESCR b/graphics/jpegquality/DESCR
new file mode 100644
index 00000000000..f25f01395c5
--- /dev/null
+++ b/graphics/jpegquality/DESCR
@@ -0,0 +1,2 @@
+Print out the quantization tables in a JPEG file (that indicate
+how the image was compressed).
diff --git a/graphics/jpegquality/Makefile b/graphics/jpegquality/Makefile
new file mode 100644
index 00000000000..19af73133ef
--- /dev/null
+++ b/graphics/jpegquality/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/01 20:47:53 wiz Exp $
+#
+
+DISTNAME= jpegquality
+PKGNAME= jpegquality-20070802
+CATEGORIES= graphics
+MASTER_SITES= http://blog.wired.com/27bstroke6/files/
+EXTRACT_SUFX= .txt
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://blog.wired.com/27bstroke6/2007/08/researchers-ana.html
+COMMENT= Print quantization tables of a JPEG file
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= c # none
+
+post-extract:
+ mv ${WRKSRC}/jpegquality.txt ${WRKSRC}/jpegquality.c
+
+do-build:
+ cd ${WRKSRC} && ${CC} -o jpegquality jpegquality.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/jpegquality ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jpegquality/PLIST b/graphics/jpegquality/PLIST
new file mode 100644
index 00000000000..75cbe7fcbb7
--- /dev/null
+++ b/graphics/jpegquality/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/01 20:47:53 wiz Exp $
+bin/jpegquality
diff --git a/graphics/jpegquality/distinfo b/graphics/jpegquality/distinfo
new file mode 100644
index 00000000000..eeae8d15210
--- /dev/null
+++ b/graphics/jpegquality/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/01 20:47:53 wiz Exp $
+
+SHA1 (jpegquality-20070802/jpegquality.txt) = 3070097dc5e8518f3409fe70c5ff1e422971db64
+RMD160 (jpegquality-20070802/jpegquality.txt) = 4e55a990e987406cdac0881ff5be94e3235f5318
+Size (jpegquality-20070802/jpegquality.txt) = 9661 bytes