1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/graphics/imageworsener/Makefile
2015-06-22 18:33:20 +00:00

40 lines
1.2 KiB
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= imageworsener
PORTVERSION= 1.2.0
PORTREVISION= 3
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
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= libtool
JPEG_CONFIGURE_OFF= --without-jpeg
JPEG_CONFIGURE_ON= --with-jpeg-include-dir=${LOCALBASE}/include --with-jpeg-lib-dir=${LOCALBASE}/lib
JPEG_USES= 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
.include <bsd.port.mk>