summaryrefslogtreecommitdiff
path: root/graphics/jpegquality/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2010-05-01 20:47:53 +0000
committerwiz <wiz>2010-05-01 20:47:53 +0000
commit5271b7baf544f2a4db3dbd6f14ddc35c373f5a45 (patch)
tree800666f17830d38cb1e9d075bfcf5d8a26c9b6ef /graphics/jpegquality/Makefile
parent7f543352704119ed05bdeed57c0835ed9ef6a4a9 (diff)
downloadpkgsrc-5271b7baf544f2a4db3dbd6f14ddc35c373f5a45.tar.gz
Initial import of jpegquality-20070802:
Print out the quantization tables in a JPEG file (that indicate how the image was compressed).
Diffstat (limited to 'graphics/jpegquality/Makefile')
-rw-r--r--graphics/jpegquality/Makefile31
1 files changed, 31 insertions, 0 deletions
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"