From owner-svn-ports-all@FreeBSD.ORG Fri Dec 27 09:20:55 2013 Return-Path: Delivered-To: svn-ports-all@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 47937380; Fri, 27 Dec 2013 09:20:55 +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 19C891F7C; Fri, 27 Dec 2013 09:20:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBR9KsLc051208; Fri, 27 Dec 2013 09:20:54 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBR9KsJi051206; Fri, 27 Dec 2013 09:20:54 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312270920.rBR9KsJi051206@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 27 Dec 2013 09:20:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337660 - head/shells/v7sh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 09:20:55 -0000 Author: bapt Date: Fri Dec 27 09:20:54 2013 New Revision: 337660 URL: http://svnweb.freebsd.org/changeset/ports/337660 Log: Support stage Modified: head/shells/v7sh/Makefile head/shells/v7sh/pkg-plist Modified: head/shells/v7sh/Makefile ============================================================================== --- head/shells/v7sh/Makefile Fri Dec 27 09:15:03 2013 (r337659) +++ head/shells/v7sh/Makefile Fri Dec 27 09:20:54 2013 (r337660) @@ -17,34 +17,23 @@ DISTFILES= args.c:s blok.c:s brkincr.h:s DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -COMMENT= An implementation of the UNIX 7th Edition shell +COMMENT= Implementation of the UNIX 7th Edition shell +USES= uidfix EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKDIR} NO_WRKSUBDIR= yes -MAN1= ${PORTNAME}.1 -MANCOMPRESSED= yes OPTIONS_DEFINE= SYSIII RENO ULTRIX OPTIONS_DEFAULT= SYSIII RENO ULTRIX SYSIII_DESC= System III enhancements RENO_DESC= 4.3BSD-Reno enhancements ULTRIX_DESC= Ultrix 3.1 enhancements - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MSYSIII} -CFLAGS+= -DSYSIII -.endif -.if ${PORT_OPTIONS:MRENO} -CFLAGS+= -DRENO -.endif -.if ${PORT_OPTIONS:MULTRIX} -CFLAGS+= -DULTRIX -.endif +SYSIII_CFLAGS= -DSYSIII +RENO_CFLAGS= -DRENO +ULTRIX_CFLAGS= -DULTRIX post-extract: @${MV} ${WRKSRC}/sh.1 ${WRKSRC}/${PORTNAME}.1 @@ -52,11 +41,4 @@ post-extract: @${CP} ${FILESDIR}/test.c ${WRKSRC} # sysIII @${CP} ${FILESDIR}/pathnames.h ${WRKSRC} # 43reno -post-install: - @${ECHO_MSG} "updating /etc/shells" - @${CP} /etc/shells /etc/shells.bak - @(${GREP} -v ${PREFIX}/bin/${PORTNAME} /etc/shells.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/${PORTNAME}) > /etc/shells - @${RM} /etc/shells.bak - .include Modified: head/shells/v7sh/pkg-plist ============================================================================== --- head/shells/v7sh/pkg-plist Fri Dec 27 09:15:03 2013 (r337659) +++ head/shells/v7sh/pkg-plist Fri Dec 27 09:20:54 2013 (r337660) @@ -1,3 +1,4 @@ bin/v7sh +man/man1/v7sh.1.gz @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells