Date: Sun, 2 Mar 2014 20:30:16 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r346797 - branches/2014Q1/shells/ksh93 Message-ID: <201403022030.s22KUGOZ053862@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 2 20:30:15 2014 New Revision: 346797 URL: http://svnweb.freebsd.org/changeset/ports/346797 QAT: https://qat.redports.org/buildarchive/r346797/ Log: MFH: r337651 Support stage Approved by: portmgr (bapt, via IRC) Modified: branches/2014Q1/shells/ksh93/Makefile branches/2014Q1/shells/ksh93/pkg-plist (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/shells/ksh93/Makefile ============================================================================== --- branches/2014Q1/shells/ksh93/Makefile Sun Mar 2 20:29:18 2014 (r346796) +++ branches/2014Q1/shells/ksh93/Makefile Sun Mar 2 20:30:15 2014 (r346797) @@ -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 <bsd.port.options.mk> .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: branches/2014Q1/shells/ksh93/pkg-plist ============================================================================== --- branches/2014Q1/shells/ksh93/pkg-plist Sun Mar 2 20:29:18 2014 (r346796) +++ branches/2014Q1/shells/ksh93/pkg-plist Sun Mar 2 20:30:15 2014 (r346797) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403022030.s22KUGOZ053862>