aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2008-10-08 08:38:07 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2008-10-08 08:38:07 +0000
commitcaa7d52165c9b7044b362708cf7531b63b46ff1d (patch)
tree36c4fd18e1274d14a10d54368e867ac9041a1f96 /shells
parent27f99df1124d197dcbfa24af98c1a0cc5a94310b (diff)
downloadports-caa7d52165c9b7044b362708cf7531b63b46ff1d.tar.gz
ports-caa7d52165c9b7044b362708cf7531b63b46ff1d.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/fd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index 12f0f4ca5935..6467a9cc556d 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -41,6 +41,11 @@ post-install:
(${GREP} -v ${PREFIX}/bin/fdsh /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells; \
${RM} -f /etc/shells.bak
+ @${INSTALL_DATA} ${WRKSRC}/_fdrc.orig ${PREFIX}/etc/fd2rc.dist
+ @${INSTALL_DATA} ${WRKSRC}/_fdrc ${PREFIX}/etc/fd2rc.sample
+ if [ ! -f ${PREFIX}/etc/fd2rc ]; then \
+ ${CP} -p ${PREFIX}/etc/fd2rc.sample ${PREFIX}/etc/fd2rc; \
+ fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
@@ -50,11 +55,6 @@ post-install:
@for i in ${DOCS_JA}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/ja/${PORTNAME}; \
done
- @${INSTALL_DATA} ${WRKSRC}/_fdrc.orig ${PREFIX}/etc/fd2rc.dist
- @${INSTALL_DATA} ${WRKSRC}/_fdrc ${PREFIX}/etc/fd2rc.sample
- if [ ! -f ${PREFIX}/etc/fd2rc ]; then \
- ${CP} -p ${PREFIX}/etc/fd2rc.sample ${PREFIX}/etc/fd2rc; \
- fi
@${CAT} ${PKGMESSAGE}
.endif