c6faa705a5
Differential Revision: https://reviews.freebsd.org/D1361 Submitted by: bapt Reviewed by: self Exp-run by: self
37 lines
1,010 B
Makefile
37 lines
1,010 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Imager
|
|
PORTVERSION= 1.001
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl module for manipulating gray, color, and rgba format images
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Devel-CheckLib>=0:${PORTSDIR}/devel/p5-Devel-CheckLib
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
libgif.so:${PORTSDIR}/graphics/giflib \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
|
libt1.so:${PORTSDIR}/devel/t1lib \
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
|
TEST_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \
|
|
p5-Inline-C>=0:${PORTSDIR}/devel/p5-Inline-C
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
CONFIGURE_ENV= IM_CFLAGS="${CFLAGS}" \
|
|
IM_INCPATH=${LOCALBASE}/include \
|
|
IM_LIBPATH=${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
@${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Imager \
|
|
-name "*.so" -exec ${STRIP_CMD} {} \;
|
|
|
|
.include <bsd.port.mk>
|