Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:27:01 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172066: shells/esh: Update MASTER_SITES
Message-ID:  <20120926022701.dfb1d515385d3153f77ad014@yahoo.com>
Resent-Message-ID: <201209251820.q8PIKLpM035527@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172066
>Category:       ports
>Synopsis:       shells/esh: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:20:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support USE_READLINE
- Support INFO_PATH

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/shells/esh/Makefile shells/esh/Makefile
--- /usr/ports/shells/esh/Makefile	2009-04-21 18:28:15.000000000 +0900
+++ shells/esh/Makefile	2012-09-25 03:42:46.000000000 +0900
@@ -1,23 +1,29 @@
-# Ports collection Makefile for:	esh
-# Date created:				05/20/1999
-# Whom:					nectar@FreeBSD.org
-#
+# Created by: nectar@FreeBSD.org
 # $FreeBSD: ports/shells/esh/Makefile,v 1.19 2009/04/21 09:28:15 itetcu Exp $
-#
 
 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 # (or later)
+
+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 @@
 	@(${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>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022701.dfb1d515385d3153f77ad014>