diff options
Diffstat (limited to 'graphics/jpegquality/Makefile')
-rw-r--r-- | graphics/jpegquality/Makefile | 31 |
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" |