# Created by: Frank Laszlo # $FreeBSD$ PORTNAME= readline PORTVERSION= 6.3.${PATCHLEVEL} CATEGORIES= devel MASTER_SITES= GNU DISTNAME= ${PORTNAME}-${PORTVERSION:R} PATCH_SITES= GNU/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-patches MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for editing command lines as they are typed LICENSE= GPLv3 OPTIONS_DEFINE= TERMCAP DOCS OPTIONS_DEFAULT=TERMCAP TERMCAP_DESC= Link against libtermcap GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= cpe INFO= history readline rluserman CPE_VENDOR= gnu CPE_VERSION= ${PORTVERSION:R} CPE_UPDATE= ${PATCHLEVEL} PATCHES= 1 2 3 4 5 6 7 8 PATCHLEVEL= ${PATCHES:Q:S|\ |.|g:E} .for patch in ${PATCHES:S|^|00|} PATCHFILES+= ${PORTNAME}${PORTVERSION:R:S|.||}-${patch:C|.*(...)$|\1|} .endfor post-patch-TERMCAP-on: @${REINPLACE_CMD} -e '/SHOBJ_LDFLAGS = / s| = |&-ltermcap |' ${WRKSRC}/shlib/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhistory.so.6 ${STAGEDIR}${PREFIX}/lib/libreadline.so.6 .include