aboutsummaryrefslogtreecommitdiff
path: root/shells/psh/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-05-04 05:47:17 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-05-04 05:47:17 +0000
commitcab771a7f914446bd6863a894399df5243610694 (patch)
treef71e6d2072ff2da22211737957510d9deec9fc39 /shells/psh/Makefile
parentb2e30b8793362ed0f18a3d4e5749ada9435717a7 (diff)
downloadports-cab771a7f914446bd6863a894399df5243610694.tar.gz
ports-cab771a7f914446bd6863a894399df5243610694.zip
Notes
Diffstat (limited to 'shells/psh/Makefile')
-rw-r--r--shells/psh/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/shells/psh/Makefile b/shells/psh/Makefile
index a63de2eb5545..aa9b46da987e 100644
--- a/shells/psh/Makefile
+++ b/shells/psh/Makefile
@@ -29,16 +29,7 @@ MAN3= Psh::Completion.3 \
Psh::Strategy.3 \
Psh::StrategyBunch.3
-pre-install:
- @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
- @${PERL} -pi -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
- @${PERL} -pi -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
-
post-install:
- @${ECHO_MSG} "Updating /etc/shells"
- @${CP} /etc/shells /etc/shells.bak
- @(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
- ${ECHO_CMD} ${PREFIX}/bin/psh) > /etc/shells
- @${RM} /etc/shells.bak
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>