diff options
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 |