summaryrefslogtreecommitdiff
path: root/textproc/man2html
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-12-23 21:28:28 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-12-23 21:28:28 +0000
commit0a9615edcb92ad069d59fe144a3ea261d542fd65 (patch)
treee3bc22e3cd0e29768deeb5149f6ca02bf4bf6641 /textproc/man2html
parentNew port: p5-Net-Z3950: (diff)
Fix man.cgi script installation.
PR: 33119 Submitted by: Christopher Elkins <chrise@scardini.com>
Notes
Notes: svn path=/head/; revision=52064
Diffstat (limited to 'textproc/man2html')
-rw-r--r--textproc/man2html/Makefile4
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>