aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Imager/Makefile
blob: bc0ac51ab9ef8dfe886d45e693f04c96ae1074a7 (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
37
38
39
40
41
# ex:ts=8
# New ports collection makefile for:    p5-Imager
# Date created:         Jul 24, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   Imager
PORTVERSION=    0.52
CATEGORIES= graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    A Perl module for manipulating gray, color and rgba format images

LIB_DEPENDS=    \
        jpeg:${PORTSDIR}/graphics/jpeg \
        png:${PORTSDIR}/graphics/png \
        t1:${PORTSDIR}/devel/t1lib \
        tiff:${PORTSDIR}/graphics/tiff \
        ungif:${PORTSDIR}/graphics/libungif

USE_FREETYPE=   yes
PERL_CONFIGURE= yes
CONFIGURE_ENV=  IM_LIBPATH="${LOCALBASE}/lib" \
        IM_CFLAGS="${CFLAGS}" \
        IM_INCPATH="${LOCALBASE}/include/freetype1/freetype" \
        IM_SUPPRESS_PROMPT=1

.include "Makefile.man"

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>