| @@ -1,20 +1,28 @@ | | | @@ -1,20 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.6 2016/09/20 11:40:27 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2016/10/01 06:02:10 mef Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= Font-FreeType-0.07 | | 4 | DISTNAME= Font-FreeType-0.07 |
5 | PKGNAME= p5-${DISTNAME} | | 5 | PKGNAME= p5-${DISTNAME} |
6 | CATEGORIES= perl5 fonts graphics | | 6 | CATEGORIES= perl5 fonts graphics |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Font/} | | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Font/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://search.cpan.org/dist/Font-FreeType/ | | 10 | HOMEPAGE= http://search.cpan.org/dist/Font-FreeType/ |
11 | COMMENT= Read font files and render glyphs from Perl using FreeType2 | | 11 | COMMENT= Read font files and render glyphs from Perl using FreeType2 |
12 | LICENSE= ${PERL5_LICENSE} | | 12 | LICENSE= ${PERL5_LICENSE} |
13 | | | 13 | |
| | | 14 | DEPENDS+= p5-Devel-CheckLib-[0-9]*:../../devel/p5-Devel-CheckLib |
| | | 15 | DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which |
| | | 16 | |
| | | 17 | # for make test |
| | | 18 | BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings |
| | | 19 | |
14 | PERL5_PACKLIST= auto/Font/FreeType/.packlist | | 20 | PERL5_PACKLIST= auto/Font/FreeType/.packlist |
15 | | | 21 | |
16 | .include "../../graphics/freetype2/buildlink3.mk" | | 22 | .include "../../graphics/freetype2/buildlink3.mk" |
17 | .include "../../lang/perl5/module.mk" | | 23 | .include "../../lang/perl5/module.mk" |
| | | 24 | .if ( !empty($X11_TYPE:Mnative) ) |
18 | # to find freetype-config | | 25 | # to find freetype-config |
19 | .include "../../mk/x11.buildlink3.mk" | | 26 | .include "../../mk/x11.buildlink3.mk" |
| | | 27 | .endif |
20 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |