diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2008-10-08 08:38:07 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2008-10-08 08:38:07 +0000 |
commit | caa7d52165c9b7044b362708cf7531b63b46ff1d (patch) | |
tree | 36c4fd18e1274d14a10d54368e867ac9041a1f96 /shells/fd | |
parent | 27f99df1124d197dcbfa24af98c1a0cc5a94310b (diff) | |
download | ports-caa7d52165c9b7044b362708cf7531b63b46ff1d.tar.gz ports-caa7d52165c9b7044b362708cf7531b63b46ff1d.zip |
Notes
Diffstat (limited to 'shells/fd')
-rw-r--r-- | shells/fd/Makefile | 10 |
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 |