aboutsummaryrefslogtreecommitdiff
path: root/shells/mksh
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
commit42542fb07642b8336e808272918f3ae46aa67e0b (patch)
tree98ff235c33c6493aa26457284f122652c38935f7 /shells/mksh
parent4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff)
downloadports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz
ports-42542fb07642b8336e808272918f3ae46aa67e0b.zip
Notes
Diffstat (limited to 'shells/mksh')
-rw-r--r--shells/mksh/Makefile4
-rw-r--r--shells/mksh/pkg-install2
2 files changed, 3 insertions, 3 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index e875aa47ed21..9ada3f03b8e1 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -47,11 +47,11 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/mksh.1 ${MANPREFIX}/man/man1
pre-install:
- @${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
+ @${SETENV} PKG_PREFIX="${PREFIX}" \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
- @${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
+ @${SETENV} PKG_PREFIX="${PREFIX}" \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
diff --git a/shells/mksh/pkg-install b/shells/mksh/pkg-install
index dea9b5231c91..87dea009ba0a 100644
--- a/shells/mksh/pkg-install
+++ b/shells/mksh/pkg-install
@@ -4,7 +4,7 @@
#
MKSH="${PKG_PREFIX-/usr/local}/bin/mksh"
-SHELLS="${PKG_DESTDIR-}/etc/shells"
+SHELLS="/etc/shells"
case $2 in
POST-INSTALL)