aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-ReadLine-Gnu/Makefile
blob: 14d6aa5cdae8698633bfb4a145dba82b13269638 (plain) (blame)
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
# 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.14
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Term
PKGNAMEPREFIX=  p5-
DISTNAME=   Term-${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
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

MAN3=       Term::ReadLine::Gnu.3

.include <bsd.port.post.mk>