Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 09:52:36 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339341 - head/shells/mksh
Message-ID:  <201401100952.s0A9qann031861@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Fri Jan 10 09:52:35 2014
New Revision: 339341
URL: http://svnweb.freebsd.org/changeset/ports/339341

Log:
  - Update to R48b
  - Use option framework
  
  PR:		182358
  Submitted by:	myself
  Approved by:	miwi@ (implicit, maintainer timeout 4 months)

Modified:
  head/shells/mksh/Makefile
  head/shells/mksh/distinfo
  head/shells/mksh/pkg-plist   (contents, props changed)

Modified: head/shells/mksh/Makefile
==============================================================================
--- head/shells/mksh/Makefile	Fri Jan 10 09:36:12 2014	(r339340)
+++ head/shells/mksh/Makefile	Fri Jan 10 09:52:35 2014	(r339341)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mksh
-DISTVERSION=	R46
+DISTVERSION=	R48b
 CATEGORIES=	shells
 MASTER_SITES=	http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
 		http://pub.allbsd.org/MirOS/dist/mir/mksh/
@@ -13,13 +13,17 @@ COMMENT=	MirBSD enhanced shell based on 
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SHELL=${SH} ${SH} ${WRKSRC}/Build.sh -r -c lto
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mksh ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/mksh.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${STAGEDIR}${EXAMPLESDIR}
+.endif
 
 .include <bsd.port.mk>

Modified: head/shells/mksh/distinfo
==============================================================================
--- head/shells/mksh/distinfo	Fri Jan 10 09:36:12 2014	(r339340)
+++ head/shells/mksh/distinfo	Fri Jan 10 09:52:35 2014	(r339341)
@@ -1,2 +1,2 @@
-SHA256 (mksh-R46.tgz) = dbe6bf60b111a962ed33eb16dffa4d726d62dc0d60ad5429f0d575fc430af05a
-SIZE (mksh-R46.tgz) = 349524
+SHA256 (mksh-R48b.tgz) = e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792
+SIZE (mksh-R48b.tgz) = 362969

Modified: head/shells/mksh/pkg-plist
==============================================================================
--- head/shells/mksh/pkg-plist	Fri Jan 10 09:36:12 2014	(r339340)
+++ head/shells/mksh/pkg-plist	Fri Jan 10 09:52:35 2014	(r339341)
@@ -1,6 +1,6 @@
 bin/mksh
 man/man1/mksh.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
+@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
+@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100952.s0A9qann031861>