[Midnightbsd-cvs] mports: mports/www: add man2web.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 24 00:59:11 EDT 2007
Log Message:
-----------
add man2web.
Modified Files:
--------------
mports/www:
Makefile (r1.54 -> r1.55)
Added Files:
-----------
mports/www/man2web:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/www/man2web/files:
freebsd.h (r1.1)
patch-configure (r1.1)
patch-doc_man__sources_package__name.1.in (r1.1)
patch-doc_man__sources_package__name__conf.5.in (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/Makefile,v
retrieving revision 1.54
retrieving revision 1.55
diff -Lwww/Makefile -Lwww/Makefile -u -r1.54 -r1.55
--- www/Makefile
+++ www/Makefile
@@ -36,6 +36,7 @@
SUBDIR += linux-seamonkey-devel
SUBDIR += linuxpluginwrapper
SUBDIR += lynx
+ SUBDIR += man2web
SUBDIR += neon
SUBDIR += opera
SUBDIR += p5-CGI.pm
--- /dev/null
+++ www/man2web/pkg-descr
@@ -0,0 +1,4 @@
+man2web is a program for converting man (manual) output to HTML on
+the fly (as a CGI program) or on the command line.
+
+WWW: http://man2web.sourceforge.net/
--- /dev/null
+++ www/man2web/pkg-plist
@@ -0,0 +1,5 @@
+ at comment $FreeBSD: ports/www/man2web/pkg-plist,v 1.3 2006/02/08 15:47:23 naddy Exp $
+bin/man2web
+%%CGIDIR%%/man2web
+etc/man2web.conf.default
+ at dirrmtry %%CGIDIR%%
--- /dev/null
+++ www/man2web/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: man2web
+# Date created: 2003-04-19
+# Whom: Christian Weisgerber <naddy at freebsd.org>
+#
+# $MidnightBSD: mports/www/man2web/Makefile,v 1.1 2007/08/24 04:59:08 laffer1 Exp $
+# $FreeBSD: ports/www/man2web/Makefile,v 1.6 2006/02/08 15:47:23 naddy Exp $
+#
+
+PORTNAME= man2web
+PORTVERSION= 0.88
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Convert man pages to HTML
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
+CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
+ --sysconfdir="${PREFIX}/etc" \
+ --with-manpath=/usr/share/man:${X11BASE}/man:${LOCALBASE}/man \
+ --with-distro=freebsd --enable-lynx
+
+PLIST_SUB= CGIDIR="${CGIDIR}"
+CGIDIR= www/cgi-bin
+
+MAN1= man2web.1
+MAN5= man2web.conf.5
+
+post-extract:
+ ${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/src/section_h/
+
+# default Apache configuration disallows symlinks in cgi-bin
+post-install:
+ ${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${PREFIX}/bin/man2web
+
+.include <bsd.port.mk>
--- /dev/null
+++ www/man2web/distinfo
@@ -0,0 +1,3 @@
+MD5 (man2web-0.88.tar.gz) = 0c07ffaf49b975c8adeae6cf8c975ee1
+SHA256 (man2web-0.88.tar.gz) = c987fd2f1c3deb26b27ba63cfb6f39e6902515845af0373b6a1acd12fd2630ac
+SIZE (man2web-0.88.tar.gz) = 159264
--- /dev/null
+++ www/man2web/files/patch-configure
@@ -0,0 +1,26 @@
+
+$FreeBSD: ports/www/man2web/files/patch-configure,v 1.1 2003/04/28 17:58:18 naddy Exp $
+
+--- configure.orig Mon Apr 28 03:07:10 2003
++++ configure Mon Apr 28 16:41:10 2003
+@@ -4593,6 +4593,20 @@
+ distro=debian-3
+ ;;
+
++ freebsd)
++ if test x$section_switch = x
++ then
++ section_switch="-S"
++ fi
++
++ if test x$manpath_switch = x
++ then
++ manpath_switch="-M"
++ fi
++
++ distro=freebsd
++ ;;
++
+ *)
+ distro=generic
+ ;;
--- /dev/null
+++ www/man2web/files/patch-doc_man__sources_package__name__conf.5.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/www/man2web/files/patch-doc_man__sources_package__name__conf.5.in,v 1.1 2003/04/19 14:00:38 naddy Exp $
+
+--- doc/man_sources/package_name_conf.5.in.orig Sat Apr 19 14:18:37 2003
++++ doc/man_sources/package_name_conf.5.in Sat Apr 19 14:19:06 2003
+@@ -152,7 +152,7 @@
+ .IX Header "DESCRIPTION"
+ .RS 4
+ \&\fI at PACKAGE_NAME@.conf\fR contains configuration directives for
+-\&\fB at PACKAGE_NAME@\fR. It is usually located in \fI/usr/local/etc\fR.
++\&\fB at PACKAGE_NAME@\fR. It is usually located in \fI at sysconfdir@\fR.
+ .Sp
+ All directives are upper case, followed by whitespace, followed by the
+ value. If a directive is not specified in the file, the compile time default
--- /dev/null
+++ www/man2web/files/patch-doc_man__sources_package__name.1.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/www/man2web/files/patch-doc_man__sources_package__name.1.in,v 1.1 2003/04/19 14:00:38 naddy Exp $
+
+--- doc/man_sources/package_name.1.in.orig Sat Apr 19 14:12:16 2003
++++ doc/man_sources/package_name.1.in Sat Apr 19 14:13:07 2003
+@@ -215,7 +215,7 @@
+ .IP "\fB at PACKAGE_NAME@ \-\-print\-config\fR > \fI at PACKAGE_NAME@.conf\fR" 4
+ .IX Item "@PACKAGE_NAME@ --print-config > @PACKAGE_NAME at .conf"
+ This would print out the current configuration, saving it to
+-\&\fI at PACKAGE_NAME.conf\fR.
++\&\fI at PACKAGE_NAME@.conf\fR.
+ .RE
+ .RS 4
+ .RE
--- /dev/null
+++ www/man2web/files/freebsd.h
@@ -0,0 +1,16 @@
+/* $FreeBSD: ports/www/man2web/files/freebsd.h,v 1.1 2003/04/28 17:58:18 naddy Exp $ */
+
+/* default section entries that are used if configuration file is disabled*/
+#define SECTION_COUNT 9
+struct section_entry section_matrix[] = {
+ { "1", "1", "General Commands (Tools and Utilities)" },
+ { "2", "2", "System Calls and Error Numbers" },
+ { "3", "3", "C Libraries" },
+ { "4", "4", "Devices and Device Drivers" },
+ { "5", "5", "File Formats" },
+ { "6", "6", "Games" },
+ { "7", "7", "Miscellaneous Information Pages" },
+ { "8", "8", "System Maintenance and Operation Commands" },
+ { "9", "9", "Kernel Interfaces" }
+};
+
More information about the Midnightbsd-cvs
mailing list