mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
08d7206941
PR: 96121 Submitted by: Shaun Amott <shaun@inerd.com> (maintainer) Reported by: pointyhat
35 lines
820 B
Makefile
35 lines
820 B
Makefile
# New ports collection makefile for: p5-ReadLine-Gnu
|
|
# Date created: 19 February 1998
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ReadLine-Gnu
|
|
PORTVERSION= 1.16
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Term
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= Term-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= shaun@inerd.com
|
|
COMMENT= Perl 5 module that allows Term::ReadLine to use GNU readline
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/lib/libreadline.so)
|
|
CONFIGURE_ARGS+=--includedir=${LOCALBASE}/include
|
|
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
IGNORE= this port requires Perl 5.8 or newer. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
MAN3= Term::ReadLine::Gnu.3
|
|
|
|
.include <bsd.port.post.mk>
|