1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to R48b

- Use option framework

PR:		182358
Submitted by:	myself
Approved by:	miwi@ (implicit, maintainer timeout 4 months)
This commit is contained in:
Olivier Duchateau 2014-01-10 09:52:35 +00:00
parent 3c1a5640f8
commit c995ccbca0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339341
3 changed files with 9 additions and 5 deletions

View File

@ -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 pdksh
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>

View File

@ -1,2 +1,2 @@
SHA256 (mksh-R46.tgz) = dbe6bf60b111a962ed33eb16dffa4d726d62dc0d60ad5429f0d575fc430af05a
SIZE (mksh-R46.tgz) = 349524
SHA256 (mksh-R48b.tgz) = e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792
SIZE (mksh-R48b.tgz) = 362969

View File

@ -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%%