ports/172066: shells/esh: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:20:21 UTC 2012
>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 at FreeBSD.org
-#
+# Created by: nectar at 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 at 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:
More information about the freebsd-ports-bugs
mailing list