Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 10:53:30 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355818 - head/textproc/man2html
Message-ID:  <201405301053.s4UArUdM095208@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Fri May 30 10:53:29 2014
New Revision: 355818
URL: http://svnweb.freebsd.org/changeset/ports/355818
QAT: https://qat.redports.org/buildarchive/r355818/

Log:
  Stagify;
  Update WWW
  Simplify installation.

Modified:
  head/textproc/man2html/Makefile
  head/textproc/man2html/pkg-descr

Modified: head/textproc/man2html/Makefile
==============================================================================
--- head/textproc/man2html/Makefile	Fri May 30 10:50:33 2014	(r355817)
+++ head/textproc/man2html/Makefile	Fri May 30 10:53:29 2014	(r355818)
@@ -6,32 +6,29 @@ PORTVERSION=	3.0.1
 PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://hydra.nac.uci.edu/indiv/ehood/tar/ \
-		ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/
+		ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/ \
+		http://people.freebsd.org/~demon/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
 MAINTAINER=	demon@FreeBSD.org
 COMMENT=	Convert nroff(1) man pages to HTML
 
 USES=		perl5
-USE_PERL5=	run build patch
+USE_PERL5=	run
 NO_BUILD=	yes
 CGIDIR=		${PREFIX}/www/cgi-bin
 
-MAN1=		man2html.1
-PLIST_FILES=	bin/man2html
+PLIST_FILES=	bin/man2html man/man1/man2html.1.gz www/cgi-bin/man.cgi
+PLIST_DIRS=	www/cgi-bin
 
-NO_STAGE=	yes
 post-patch:
-	${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man.cgi ${WRKSRC}/man2html
+	${REINPLACE_CMD} -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man2html
+	${REINPLACE_CMD} -e "s#/usr/bin/perl5.00503#${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
+	${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${STAGEDIR}/${PREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}${CGIDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${STAGEDIR}${CGIDIR}
 
 .include <bsd.port.mk>

Modified: head/textproc/man2html/pkg-descr
==============================================================================
--- head/textproc/man2html/pkg-descr	Fri May 30 10:50:33 2014	(r355817)
+++ head/textproc/man2html/pkg-descr	Fri May 30 10:53:29 2014	(r355818)
@@ -1,3 +1,3 @@
 Convert UNIX nroff(1) manual pages to HTML format.
 
-WWW: http://www.oac.uci.edu/indiv/ehood/man2html.html
+WWW: http://www.nongnu.org/man2html/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301053.s4UArUdM095208>