aboutsummaryrefslogtreecommitdiff
path: root/textproc/man2html
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-11-22 22:33:31 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-11-22 22:33:31 +0000
commitc0b39df199d624d2b0eb964844f0ef14acba44f7 (patch)
treec8a6cbd8dd127e1ea5005af53c5dcb208db80f24 /textproc/man2html
parenta59d8f85c584dff1446e76819bf75cbfb5be82c1 (diff)
downloadports-c0b39df199d624d2b0eb964844f0ef14acba44f7.tar.gz
ports-c0b39df199d624d2b0eb964844f0ef14acba44f7.zip
With a correct CVSROOT/modules file, import man2html for the last time.
Notes
Notes: svn path=/head/; revision=14778
Diffstat (limited to 'textproc/man2html')
-rw-r--r--textproc/man2html/Makefile41
-rw-r--r--textproc/man2html/distinfo1
-rw-r--r--textproc/man2html/pkg-comment1
-rw-r--r--textproc/man2html/pkg-descr6
-rw-r--r--textproc/man2html/pkg-plist1
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile
new file mode 100644
index 000000000000..617e8970a804
--- /dev/null
+++ b/textproc/man2html/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: man2html
+# Version required: 3.0.1
+# Date created: 29 August 1998
+# Whom: Dima Sivachenko <demon@gpad.ac.ru>
+#
+# $Id$
+#
+
+DISTNAME= man2html3.0.1
+PKGNAME= man2html-3.0.1
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
+
+MAINTAINER= demon@gpad.ac.ru
+
+USE_PERL5= yes
+NO_BUILD= yes
+CGIDIR= ${PREFIX}/www/cgi-bin
+
+MAN1= man2html.1
+
+post-patch:
+
+ if [ -f ${CGIDIR} ] ; then \
+ ${MV} ${WRKSRC}/man.cgi ${WRKSRC}/man.cgi.pre_sed ; \
+ ${CAT} ${WRKSRC}/man.cgi.pre_sed | \
+ ${GREP} -Ev -e "/opt/|/openwin/" \
+ > ${WRKSRC}/man.cgi ; \
+ fi
+
+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>
diff --git a/textproc/man2html/distinfo b/textproc/man2html/distinfo
new file mode 100644
index 000000000000..3cdd750f8811
--- /dev/null
+++ b/textproc/man2html/distinfo
@@ -0,0 +1 @@
+MD5 (man2html3.0.1.tar.gz) = 1c0d28c83225d0ebc845f2386c8f8384
diff --git a/textproc/man2html/pkg-comment b/textproc/man2html/pkg-comment
new file mode 100644
index 000000000000..44e4b55b22b7
--- /dev/null
+++ b/textproc/man2html/pkg-comment
@@ -0,0 +1 @@
+convert nroff(1) man pages to HTML
diff --git a/textproc/man2html/pkg-descr b/textproc/man2html/pkg-descr
new file mode 100644
index 000000000000..6359527aeef3
--- /dev/null
+++ b/textproc/man2html/pkg-descr
@@ -0,0 +1,6 @@
+Convert UNIX nroff(1) manual pages to HTML format.
+
+http://www.oac.uci.edu/indiv/ehood/man2html.html
+
+--demon
+demon@gpad.ac.ru
diff --git a/textproc/man2html/pkg-plist b/textproc/man2html/pkg-plist
new file mode 100644
index 000000000000..d09e53886283
--- /dev/null
+++ b/textproc/man2html/pkg-plist
@@ -0,0 +1 @@
+bin/man2html