summaryrefslogtreecommitdiff
path: root/devel/p5-ReadLine-Gnu/Makefile
blob: d0149c188ab28c3ffeab7e359b9d12b153bb356e (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
# New ports collection makefile for:	p5-ReadLine-Gnu
# Version required:			1.01
# Date created:				19 February 1998
# Whom:	      				Matthew Hunt <mph@pobox.com>
#
# $Id: Makefile,v 1.6 1998/09/15 21:31:42 asami Exp $
#

DISTNAME=	Term-ReadLine-Gnu-1.01
PKGNAME=	p5-ReadLine-Gnu-1.01
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Term

MAINTAINER=	mph@freebsd.org

USE_PERL5=	YES

MAN3=		Term::ReadLine::Gnu.3
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

# We override LDDLFLAGS and LDFLAGS to keep it from adding -L/usr/local/lib
# automatically.  There is sometimes an old libreadline in /usr/local/lib
# and this module won't work with it.
do-configure:
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib

.include <bsd.port.mk>