From 2031fcad6d53eb4aa418045487d75ee9b05c670d Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 15 Mar 2014 18:48:53 +0000 Subject: - Add imageworsener 1.2.0 ImageWorsener is a cross-platform command-line utility and library for image scaling and other image processing. It has full support for PNG, JPEG, BMP formats, experimental support for WebP, read-only support for GIF, and limited support for some other image formats. It's not as fast or memory-efficient as some utilities, but it's very accurate. WWW: http://entropymine.com/imageworsener/ --- graphics/imageworsener/Makefile | 37 +++++++++++++++++++++++++++++++++++++ graphics/imageworsener/distinfo | 2 ++ graphics/imageworsener/pkg-descr | 7 +++++++ graphics/imageworsener/pkg-plist | 6 ++++++ 4 files changed, 52 insertions(+) create mode 100644 graphics/imageworsener/Makefile create mode 100644 graphics/imageworsener/distinfo create mode 100644 graphics/imageworsener/pkg-descr create mode 100644 graphics/imageworsener/pkg-plist (limited to 'graphics/imageworsener') diff --git a/graphics/imageworsener/Makefile b/graphics/imageworsener/Makefile new file mode 100644 index 000000000000..56c4d198a08b --- /dev/null +++ b/graphics/imageworsener/Makefile @@ -0,0 +1,37 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= imageworsener +PORTVERSION= 1.2.0 +CATEGORIES= graphics +MASTER_SITES= http://entropymine.com/imageworsener/ \ + LOCAL/sunpoet + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CLI utility and library for image scaling and processing + +LICENSE= MIT + +OPTIONS_DEFINE= JPEG PNG WEBP +OPTIONS_DEFAULT=JPEG PNG WEBP + +CONFIGURE_ARGS= --with-zlib-include-dir=${INCLUDEDIR} \ + --with-zlib-lib-dir=${LIBDIR} + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +JPEG_CONFIGURE_OFF= --without-jpeg +JPEG_CONFIGURE_ON= --with-jpeg-include-dir=${LOCALBASE}/include --with-jpeg-lib-dir=${LOCALBASE}/lib +JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +PNG_CONFIGURE_OFF= --without-png +PNG_CONFIGURE_ON= --with-png-include-dir=${LOCALBASE}/include --with-png-lib-dir=${LOCALBASE}/lib +PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png +WEBP_CONFIGURE_OFF= --without-webp +WEBP_CONFIGURE_ON= --with-webp-include-dir=${LOCALBASE}/include --with-webp-lib-dir=${LOCALBASE}/lib +WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp + +post-build: + @${STRIP_CMD} ${WRKSRC}/.libs/libimageworsener.so.2 + +.include diff --git a/graphics/imageworsener/distinfo b/graphics/imageworsener/distinfo new file mode 100644 index 000000000000..bbb7f978ccfd --- /dev/null +++ b/graphics/imageworsener/distinfo @@ -0,0 +1,2 @@ +SHA256 (imageworsener-1.2.0.tar.gz) = 97fdb1aafac7bc2339b2ce813071f0900de0b093b96ab1a99a43f9647afdfe35 +SIZE (imageworsener-1.2.0.tar.gz) = 635509 diff --git a/graphics/imageworsener/pkg-descr b/graphics/imageworsener/pkg-descr new file mode 100644 index 000000000000..033de0c0000d --- /dev/null +++ b/graphics/imageworsener/pkg-descr @@ -0,0 +1,7 @@ +ImageWorsener is a cross-platform command-line utility and library for image +scaling and other image processing. It has full support for PNG, JPEG, BMP +formats, experimental support for WebP, read-only support for GIF, and limited +support for some other image formats. It's not as fast or memory-efficient as +some utilities, but it's very accurate. + +WWW: http://entropymine.com/imageworsener/ diff --git a/graphics/imageworsener/pkg-plist b/graphics/imageworsener/pkg-plist new file mode 100644 index 000000000000..4512c4f5501f --- /dev/null +++ b/graphics/imageworsener/pkg-plist @@ -0,0 +1,6 @@ +bin/imagew +include/imagew.h +lib/libimageworsener.a +lib/libimageworsener.la +lib/libimageworsener.so +lib/libimageworsener.so.2 -- cgit v1.2.3