openbsd-ports/graphics/p5-Image-Scale/Makefile

35 lines
713 B
Makefile
Raw Normal View History

# $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>