aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imageworsener/Makefile
blob: fab0ad96dcfbb3a4288a06bd3cd2f6239a06eb30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   imageworsener
PORTVERSION=    1.3.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
LICENSE_FILE=   ${WRKSRC}/COPYING.txt

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_WITH=    jpeg
JPEG_USES=      jpeg
PNG_CONFIGURE_WITH= png
PNG_LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png
WEBP_CONFIGURE_WITH=    webp
WEBP_LIB_DEPENDS=   libwebp.so:${PORTSDIR}/graphics/webp

.include <bsd.port.mk>