1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/shells/esh/Makefile
Baptiste Daroussin 5397ebb5e7 Support stage
2013-12-27 08:16:03 +00:00

34 lines
702 B
Makefile

# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= esh
PORTVERSION= 0.8.5
CATEGORIES= shells
MASTER_SITES= GENTOO/distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= The "easy shell", a small shell with Lisp-like syntax
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= readline
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
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>