diff options
-rw-r--r-- | textproc/man2html/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile index f6d8590ae6e0..4c55c724e92b 100644 --- a/textproc/man2html/Makefile +++ b/textproc/man2html/Makefile @@ -29,8 +29,8 @@ do-install: ${PERL5} ${WRKSRC}/install.me -batch -binpath ${PREFIX}/bin \ -manpath ${PREFIX}/man -libpath ${PREFIX}/lib \ -perlpath ${PERL5} - if [ -f ${CGIDIR} ] ; then \ - ${INSTALL_PROGRAM} ${WRKSRC}/man.cgi ${CGIDIR} ; \ + if [ -d ${CGIDIR} ] ; then \ + ${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${CGIDIR} ; \ fi .include <bsd.port.mk> |