diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-01-10 09:52:35 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-01-10 09:52:35 +0000 |
commit | c995ccbca0965016190f0f8fd0239033eb4f5095 (patch) | |
tree | a3dd3433fa3fe49fcd74bffb3a89826ba40c48df /shells | |
parent | 3c1a5640f8c5ae661b2041a32a505d0864c25db9 (diff) | |
download | ports-c995ccbca0965016190f0f8fd0239033eb4f5095.tar.gz ports-c995ccbca0965016190f0f8fd0239033eb4f5095.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/mksh/Makefile | 6 | ||||
-rw-r--r-- | shells/mksh/distinfo | 4 | ||||
-rw-r--r-- | shells/mksh/pkg-plist | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile index 66198641d046..48b6b58bd433 100644 --- a/shells/mksh/Makefile +++ b/shells/mksh/Makefile @@ -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> diff --git a/shells/mksh/distinfo b/shells/mksh/distinfo index fc4b2c67a6e4..4431d7701e3d 100644 --- a/shells/mksh/distinfo +++ b/shells/mksh/distinfo @@ -1,2 +1,2 @@ -SHA256 (mksh-R46.tgz) = dbe6bf60b111a962ed33eb16dffa4d726d62dc0d60ad5429f0d575fc430af05a -SIZE (mksh-R46.tgz) = 349524 +SHA256 (mksh-R48b.tgz) = e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792 +SIZE (mksh-R48b.tgz) = 362969 diff --git a/shells/mksh/pkg-plist b/shells/mksh/pkg-plist index 14a267d43eb8..57f077ed3d15 100644 --- a/shells/mksh/pkg-plist +++ b/shells/mksh/pkg-plist @@ -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%% |