openbsd-ports/graphics/p5-Image-Scale/Makefile
sthen 63a41d4557 import p5-Image-Scale, suggestion/ok okan@
This module implements several resizing algorithms with a focus on low
overhead, speed and minimal features. Algorithms available are:

- GD's copyResampled (floating-point)
- GD's copyResampled fixed-point (useful on embedded devices/NAS devices)
- GraphicsMagick's assortment of resize filters (floating-point)
- GraphicsMagick's Triangle filter in fixed-point

Supported image formats include JPEG, GIF, PNG, and BMP for input, and
JPEG and PNG for output.
2012-01-20 19:27:55 +00:00

35 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/01/20 19:27:55 sthen Exp $
SHARED_ONLY= Yes
COMMENT= low-overhead image rescaling module for Perl
DISTNAME= Image-Scale-0.08
CATEGORIES= graphics
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += gif jpeg png z
MODULES= cpan
LIB_DEPENDS= graphics/libungif \
graphics/jpeg \
graphics/png
MAKE_ENV= TEST_POD=Yes
CONFIGURE_ARGS= --with-jpeg-libs="${LOCALBASE}/lib" \
--with-png-include="${LOCALBASE}/include/libpng" \
--with-png-libs="${LOCALBASE}/lib" \
--with-gif-libs="${LOCALBASE}/lib"
REGRESS_DEPENDS= devel/p5-Test-NoWarnings \
devel/p5-Test-Pod
.include <bsd.port.mk>