blob: 218628dfdc08d0ff1be02284033ccd3ba04f5ce2 (
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
33
|
# $NetBSD: Makefile,v 1.14 2014/04/22 22:13:25 wiz Exp $
DISTNAME= Curses-UI-0.9609
PKGNAME= p5-${DISTNAME}
PKGREVISION= 3
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}
PKG_INSTALLATION_TYPES= overwrite pkgviews
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"
|