From owner-svn-ports-head@FreeBSD.ORG Fri Dec 27 08:43:21 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63A18AC8; Fri, 27 Dec 2013 08:43:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3606D1D75; Fri, 27 Dec 2013 08:43:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBR8hLm5036563; Fri, 27 Dec 2013 08:43:21 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBR8hKrL036561; Fri, 27 Dec 2013 08:43:20 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312270843.rBR8hKrL036561@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 27 Dec 2013 08:43:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337655 - head/shells/osh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 08:43:21 -0000 Author: bapt Date: Fri Dec 27 08:43:20 2013 New Revision: 337655 URL: http://svnweb.freebsd.org/changeset/ports/337655 Log: Support stage Modified: head/shells/osh/Makefile head/shells/osh/pkg-plist Modified: head/shells/osh/Makefile ============================================================================== --- head/shells/osh/Makefile Fri Dec 27 08:41:30 2013 (r337654) +++ head/shells/osh/Makefile Fri Dec 27 08:43:20 2013 (r337655) @@ -7,41 +7,17 @@ CATEGORIES= shells MASTER_SITES= http://v6shell.org/src/ MAINTAINER= miwi@FreeBSD.org -COMMENT= An implementation of the UNIX 6th Edition shell +COMMENT= Implementation of the UNIX 6th Edition shell MAKE_ENV+= DOCDIR=${DOCSDIR} \ DESTEXPDIR=${EXAMPLESDIR} \ MANDIR=${MANPREFIX}/man/man1 -MAN1= fd2.1 goto.1 if.1 osh.1 sh6.1 glob6.1 - PORTDOCS= * PORTEXAMPLES= * -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \ ${WRKSRC}/Makefile -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e /^install-doc/d \ - -e /\ $$\(DESTDOCDIR\)/d \ - -e 's/install-doc//' \ - ${WRKSRC}/Makefile -.endif -.if defined(NOPORTEXAMPLES) - @${REINPLACE_CMD} -e /^install-exp/d \ - -e /\ $$\(DESTEXPDIR\)/d \ - -e 's/install-exp//' \ - ${WRKSRC}/Makefile -.endif - -post-install: - @${ECHO_MSG} "updating /etc/shells" - @${CP} /etc/shells /etc/shells.bak - @(${GREP} -v ${PREFIX}/bin/osh /etc/shells.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/osh) > /etc/shells - @${RM} /etc/shells.bak -.include +.include Modified: head/shells/osh/pkg-plist ============================================================================== --- head/shells/osh/pkg-plist Fri Dec 27 08:41:30 2013 (r337654) +++ head/shells/osh/pkg-plist Fri Dec 27 08:43:20 2013 (r337655) @@ -4,5 +4,11 @@ bin/if bin/osh bin/sh6 bin/glob6 +man/man1/fd2.1.gz +man/man1/glob6.1.gz +man/man1/goto.1.gz +man/man1/if.1.gz +man/man1/osh.1.gz +man/man1/sh6.1.gz @exec echo "updating ${DESTDIR}/etc/shells"; cp ${DESTDIR}/etc/shells ${DESTDIR}/etc/shells.bak; (grep -v %D/%F ${DESTDIR}/etc/shells.bak; echo %D/%F) >${DESTDIR}/etc/shells @unexec echo "updating ${DESTDIR}/etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells