aboutsummaryrefslogtreecommitdiffstats
path: root/devel/readline/Makefile
blob: c592a5f889a97446e5a7d04e77bce2a40e85e5e1 (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
31
32
33
34
35
36
# ports collection makefile for:    readline
# Date created:             10 December 2003
# Whom:                 Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD$
#

PORTNAME=   readline
PORTVERSION=    6.2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU} \
        ftp://ftp.cwru.edu/pub/bash/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= eadler@FreeBSD.org
COMMENT=    A library for editing command lines as they are typed

LICENCE=    GPLv3
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

INFO=       readline rluserman history
MAN3=       readline.3 history.3

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
EXTRA_PATCHES+= ${FILESDIR}/support_shobj-conf.diff
.endif

pre-configure:
.if !defined(WITHOUT_TERMCAP)
    ${REINPLACE_CMD} "s/SHOBJ_LDFLAGS =/SHOBJ_LDFLAGS = -ltermcap/" ${WRKSRC}/shlib/Makefile.in
.endif

.include <bsd.port.post.mk>