blob: f5821362051bd591978b4a8dd6a9030a698d4689 (
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
|
# $NetBSD: Makefile,v 1.16 2014/10/09 14:06:14 wiz Exp $
DISTNAME= Curses-UI-0.9609
PKGNAME= p5-${DISTNAME}
PKGREVISION= 4
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Curses-UI
COMMENT= Curses based user user interface framework
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Curses>=1.29:../../devel/p5-Curses
DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
BUILD_DEPENDS+= p5-Test-Pod>=1.20:../../devel/p5-Test-Pod
# Make Curses-UI use Curses' wide character aware functions
SUBST_CLASSES+= wide
SUBST_STAGE.wide= pre-configure
SUBST_MESSAGE.wide= Upgrading to use wide-character-aware Curses functions
SUBST_FILES.wide= lib/Curses/UI.pm
SUBST_FILES.wide+= lib/Curses/UI/*.pm
SUBST_FILES.wide+= lib/Curses/UI/*/*.pm
SUBST_SED.wide= -e 's/getch/getchar/g'
SUBST_SED.wide+= -e 's/addstr/addstring/g'
PERL5_PACKLIST= auto/Curses/UI/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|