1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/p5-ReadLine-Gnu/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

30 lines
664 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= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= Term-${PORTNAME}-${PORTVERSION}
MAINTAINER= shaun@FreeBSD.org
COMMENT= Perl 5 module that allows Term::ReadLine to use GNU readline
PERL_CONFIGURE= 5.8.0+
.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>