summaryrefslogtreecommitdiff
path: root/devel/readline/Makefile
blob: 891b723b9ae2740c951dafbae9e8721153d3397b (plain)
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
# $NetBSD: Makefile,v 1.20 2002/02/18 15:14:15 seb Exp $
#

DISTNAME=	readline-4.2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=readline/}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.gnu.org/software/readline/
COMMENT=	GNU library that can recall and edit previous input

USE_BUILDLINK_ONLY=	# defined
GNU_CONFIGURE=		# defined
USE_LIBTOOL=		# defined

ALL_TARGET=		all-la
INSTALL_TARGET=		install-la

INFO_FILES=		readline.info history.info

# Remove -I$(includedir) from the INCLUDES passed to the compiler as this
# defeats buildlink.
#
post-patch:
	cd ${WRKSRC};							\
	files="Makefile.in";						\
	for file in $${files}; do					\
		${MV} -f $${file} $${file}.fixme;			\
		${SED} -e "s|[  ]*-I\$$(includedir)||"			\
			$${file}.fixme > $${file};			\
		${RM} $${file}.fixme;					\
	done

.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"