pkgsrc/devel/p5-Curses-UI/Makefile

34 lines
1 KiB
Makefile
Raw Normal View History

2018-08-22 11:43:40 +02:00
# $NetBSD: Makefile,v 1.21 2018/08/22 09:43:48 wiz Exp $
DISTNAME= Curses-UI-0.9609
PKGNAME= p5-${DISTNAME}
2018-08-22 11:43:40 +02:00
PKGREVISION= 8
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
2010-09-28 15:21:29 +02:00
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
2017-06-15 13:52:41 +02:00
MAKE_ENV+= PERL_USE_UNSAFE_INC=1
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"