pkgsrc/devel/p5-Term-ReadLine/Makefile

30 lines
872 B
Makefile

# $NetBSD: Makefile,v 1.28 2011/08/14 12:26:38 obache Exp $
DISTNAME= Term-ReadLine-Gnu-1.20
PKGNAME= p5-${DISTNAME:S/-Gnu//}
PKGREVISION= 2
SVR4_PKGNAME= p5trl
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Term/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Term-ReadLine-Gnu/
COMMENT= Interface to the GNU Readline Library
LICENSE= ${PERL5_LICENSE} # see README
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_GNU_READLINE= yes
PERL5_PACKLIST= auto/Term/ReadLine/Gnu/.packlist
MAKE_PARAMS+= --includedir=${PREFIX}/include --libdir=${PREFIX}/lib
WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//}
REPLACE_PERL+= Gnu/XS.pm Gnu/euc_jp.pm
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"