0a9615edcb
PR: 33119 Submitted by: Christopher Elkins <chrise@scardini.com>
36 lines
827 B
Makefile
36 lines
827 B
Makefile
# New ports collection makefile for: man2html
|
|
# Date created: 29 August 1998
|
|
# Whom: Dima Sivachenko <demon@gpad.ac.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= man2html
|
|
PORTVERSION= 3.0.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.oac.uci.edu/indiv/ehood/tar/ \
|
|
ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
CGIDIR= ${PREFIX}/www/cgi-bin
|
|
|
|
MAN1= man2html.1
|
|
|
|
post-patch:
|
|
${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man.cgi
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
${PERL5} ${WRKSRC}/install.me -batch -binpath ${PREFIX}/bin \
|
|
-manpath ${PREFIX}/man -libpath ${PREFIX}/lib \
|
|
-perlpath ${PERL5}
|
|
if [ -d ${CGIDIR} ] ; then \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${CGIDIR} ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|