diff options
author | knu <knu@FreeBSD.org> | 2008-10-08 16:38:07 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2008-10-08 16:38:07 +0800 |
commit | 27353c08c497e5544ddec23243c9e639b1c88cc6 (patch) | |
tree | e9b36d6604a39d930924b3a62a93c3ec87be3beb /shells/fd | |
parent | 7a154bb108017f6e47ab812db88882893ffe8d8c (diff) | |
download | freebsd-ports-gnome-27353c08c497e5544ddec23243c9e639b1c88cc6.tar.gz freebsd-ports-gnome-27353c08c497e5544ddec23243c9e639b1c88cc6.tar.zst freebsd-ports-gnome-27353c08c497e5544ddec23243c9e639b1c88cc6.zip |
Install configuration files also when NOPORTDOCS is yes.
Pointed out by: QAT
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 |