Date: Mon, 17 Dec 2012 03:33:57 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309060 - head/shells/esh Message-ID: <201212170333.qBH3XvwI008554@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Mon Dec 17 03:33:56 2012 New Revision: 309060 URL: http://svnweb.freebsd.org/changeset/ports/309060 Log: - Update MASTER_SITES. - Add LICENSE. - Add MAKE_JOBS_SAFE. - Support USE_READLINE. - Support INFO_PATH. PR: ports/172066 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Modified: head/shells/esh/Makefile (contents, props changed) Modified: head/shells/esh/Makefile ============================================================================== --- head/shells/esh/Makefile Mon Dec 17 03:32:03 2012 (r309059) +++ head/shells/esh/Makefile Mon Dec 17 03:33:56 2012 (r309060) @@ -1,23 +1,29 @@ -# Ports collection Makefile for: esh -# Date created: 05/20/1999 -# Whom: nectar@FreeBSD.org -# +# Created by: nectar@FreeBSD.org # $FreeBSD$ -# PORTNAME= esh PORTVERSION= 0.8.5 CATEGORIES= shells -MASTER_SITES= http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \ - http://people.FreeBSD.org/~foxfair/distfiles/ +MASTER_SITES= GENTOO/distfiles MAINTAINER= ports@FreeBSD.org COMMENT= The "easy shell", a small shell with Lisp-like syntax -WRKSRC= ${WRKDIR}/esh -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I/usr/include/readline" +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_READLINE= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +MAKE_JOBS_SAFE= yes + 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) @@ -28,6 +34,6 @@ do-install: @(${GREP} -v ${PREFIX}/bin/esh /etc/shells.bak; \ ${ECHO_CMD} ${PREFIX}/bin/esh) > /etc/shells @${RM} /etc/shells.bak - ${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info/esh.info + ${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/${INFO_PATH} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212170333.qBH3XvwI008554>