blob: 84ba8cc8d9a342464e4abdea6cdd55f1a4f55ede (
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
34
35
36
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= Imager
PORTVERSION= 0.98
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= freetype:${PORTSDIR}/print/freetype2 \
gif:${PORTSDIR}/graphics/giflib \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
t1:${PORTSDIR}/devel/t1lib \
tiff:${PORTSDIR}/graphics/tiff
TEST_DEPENDS= p5-CPAN-Meta>=0:${PORTSDIR}/devel/p5-CPAN-Meta \
p5-Inline>=0:${PORTSDIR}/devel/p5-Inline
USES= perl5
USE_PERL5= configure
CONFIGURE_ENV= IM_CFLAGS="${CFLAGS}" \
IM_INCPATH=${LOCALBASE}/include \
IM_LIBPATH=${LOCALBASE}/lib
post-install:
@${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Imager \
-name "*.so" -exec ${STRIP_CMD} {} \;
.include <bsd.port.mk>
|