cb037d3c98
- Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine
36 lines
770 B
Makefile
36 lines
770 B
Makefile
# Created by: nectar@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= esh
|
|
PORTVERSION= 0.8.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= shells
|
|
MASTER_SITES= GENTOO
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The "easy shell", a small shell with Lisp-like syntax
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USES= ncurses readline
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
|
LIB="${LDFLAGS} -lreadline -lncurses"
|
|
|
|
INFO= esh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|<readline.h>|<readline/readline.h>| ; \
|
|
s|<history.h>|<readline/history.h>|' ${WRKSRC}/read-rl.c
|
|
|
|
pre-build:
|
|
@(cd ${WRKSRC} && ${MAKE} clean)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/esh ${STAGEDIR}${PREFIX}/bin/esh
|
|
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
|
|
|
.include <bsd.port.mk>
|