1998-11-22 22:33:31 +00:00
|
|
|
# New ports collection makefile for: man2html
|
|
|
|
# Date created: 29 August 1998
|
|
|
|
# Whom: Dima Sivachenko <demon@gpad.ac.ru>
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-11-22 22:33:31 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= man2html
|
|
|
|
PORTVERSION= 3.0.1
|
1998-11-22 22:33:31 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
|
2000-04-09 21:54:47 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1998-11-22 22:33:31 +00:00
|
|
|
|
2000-09-29 16:51:17 +00:00
|
|
|
MAINTAINER= dima@Chg.RU
|
1998-11-22 22:33:31 +00:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
CGIDIR= ${PREFIX}/www/cgi-bin
|
|
|
|
|
|
|
|
MAN1= man2html.1
|
|
|
|
|
|
|
|
post-patch:
|
2000-09-29 16:51:17 +00:00
|
|
|
${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man.cgi
|
1998-11-22 22:33:31 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${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} ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|