From owner-svn-ports-head@FreeBSD.ORG Fri Dec 27 08:32:03 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5CBF2602; Fri, 27 Dec 2013 08:32:03 +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 2F96B1CD3; Fri, 27 Dec 2013 08:32:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBR8W3NF032589; Fri, 27 Dec 2013 08:32:03 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBR8W282032587; Fri, 27 Dec 2013 08:32:02 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312270832.rBR8W282032587@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 27 Dec 2013 08:32:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337651 - head/shells/ksh93 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:32:03 -0000 Author: bapt Date: Fri Dec 27 08:32:02 2013 New Revision: 337651 URL: http://svnweb.freebsd.org/changeset/ports/337651 Log: Support stage Modified: head/shells/ksh93/Makefile head/shells/ksh93/pkg-plist (contents, props changed) Modified: head/shells/ksh93/Makefile ============================================================================== --- head/shells/ksh93/Makefile Fri Dec 27 08:24:48 2013 (r337650) +++ head/shells/ksh93/Makefile Fri Dec 27 08:32:02 2013 (r337651) @@ -31,12 +31,9 @@ LDFLAGS+= -lm MAKE_ENV= CCFLAGS="${CFLAGS}" NO_WRKSUBDIR= yes -MAN1= ksh93.1 - INITVERSION= 2013-05-24 KSHVERSION= 2012-08-01 -NO_STAGE= yes .include .if ${PORT_OPTIONS:MSTATIC} @@ -51,17 +48,10 @@ do-build: @cd ${WRKSRC}/ && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package flat make do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93 - ${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${MAN1PREFIX}/man/man1/ksh93.1 -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${EXAMPLESDIR}/ -.endif - -post-install: - @${ECHO} "Updating /etc/shells" - @${SED} -i '' '\|${PREFIX}/bin/ksh93|d' /etc/shells - @${ECHO} ${PREFIX}/bin/ksh93 >> /etc/shells + ${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${STAGEDIR}${PREFIX}/bin/ksh93 + ${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ksh93.1 + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${STAGEDIR}${EXAMPLESDIR}/ test: build @cd ${WRKSRC}/src/cmd/ksh93/tests/ && \ Modified: head/shells/ksh93/pkg-plist ============================================================================== --- head/shells/ksh93/pkg-plist Fri Dec 27 08:24:48 2013 (r337650) +++ head/shells/ksh93/pkg-plist Fri Dec 27 08:32:02 2013 (r337651) @@ -1,4 +1,5 @@ bin/ksh93 +man/man1/ksh93.1.gz @exec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells; echo %D/%F >> /etc/shells @unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dirs