aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shells/mksh/Makefile4
-rw-r--r--shells/mksh/pkg-plist2
2 files changed, 1 insertions, 5 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index 17580f364f60..1d24c772e030 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -16,17 +16,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
-.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/pkg-plist b/shells/mksh/pkg-plist
index 989a4a4b9937..aca5deff4ac2 100644
--- a/shells/mksh/pkg-plist
+++ b/shells/mksh/pkg-plist
@@ -1,4 +1,4 @@
-man/man1/mksh.1.gz
@shell bin/mksh
+man/man1/mksh.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%