pirofti db16df85ba Update to readline-6.3 with patches.
Tested by me with Octave and jca@ tested with lftp and cgdb.

Okay jca@.
2015-11-05 12:43:20 +00:00

49 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2015/11/05 12:43:20 pirofti Exp $
COMMENT = library to edit command lines as they are typed in
V = 6.3
DISTNAME = readline-${V}
PKGNAME = readline-${V}
PATCHFILES = readline63-001:0 \
readline63-002:0 \
readline63-003:0 \
readline63-004:0 \
readline63-005:0 \
readline63-006:0 \
readline63-007:0 \
readline63-008:0
LIBV = 1.0
SHARED_LIBS += ehistory ${LIBV}
SHARED_LIBS += ereadline ${LIBV}
CATEGORIES = devel
HOMEPAGE = http://tiswww.case.edu/php/chet/readline/rltop.html
MAINTAINER = Laurent Fanis <laurent.fanis@gmail.com>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_GNU:=readline/}
MASTER_SITES0 = ${MASTER_SITE_GNU:=readline/${DISTNAME}-patches/}
CONFIGURE_STYLE = gnu
SEPARATE_BUILD = Yes
MAKE_ENV = RL_SHLIB_V=${LIBereadline_VERSION}
FAKE_FLAGS = includedir=${TRUEPREFIX}/include/ereadline
pre-configure:
perl -pi \
-e 's,History: \(history\). ,eHistory: (ehistory).,;' \
-e 's,Readline: \(readline\). ,eReadline: (ereadline).,;' \
-e 's,RLuserman: \(rluserman\). ,eRLuserman: (erluserman).,;' \
-e 's,readline.info,ereadline.info,g;' \
-e 's,history.info,ehistory.info,g;' \
-e 's,rluserman.info,erluserman.info,g' \
${WRKSRC}/doc/{readline,history,rluserman}.info
.include <bsd.port.mk>