blob: 2313ac417bafd053ca21b0a3e35f1cf4e55e8cf1 (
plain)
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
|
# $NetBSD: Makefile,v 1.127 2018/04/16 11:34:47 wiz Exp $
.include "../../graphics/ImageMagick/Makefile.common"
PKGNAME= p5-PerlMagick-${DISTVERSION}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://imagemagick.org/script/perl-magick.php
COMMENT= Object-oriented Perl interface to ImageMagick
DISTINFO_FILE= ${.CURDIR}/../../graphics/ImageMagick/distinfo
#PATCHDIR= ${.CURDIR}/../../graphics/ImageMagick/patches
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
PERL5_PACKLIST= auto/Image/Magick/.packlist
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
pre-configure:
${LN} -sf ${WRKSRC}/PerlMagick/quantum/quantum.pm ${WRKSRC}/PerlMagick/quantum/Q16HDRI.pm
${LN} -sf ${WRKSRC}/PerlMagick/quantum/quantum.xs ${WRKSRC}/PerlMagick/quantum/Q16HDRI.xs
post-configure: perl5-configure
BUILDLINK_API_DEPENDS.ImageMagick+= ImageMagick>=${DISTVERSION}
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|