1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Add info2man: translate GNU info files into man pages.

This commit is contained in:
Thierry Thomas 2005-01-23 21:55:46 +00:00
parent bf4f53c675
commit 797b6b5689
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127150
6 changed files with 71 additions and 0 deletions

View File

@ -166,6 +166,7 @@
SUBDIR += iiimf-x
SUBDIR += iiimf-x-lib
SUBDIR += info2html
SUBDIR += info2man
SUBDIR += info_to_html
SUBDIR += intltool
SUBDIR += ipdf

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: info2man
# Date created: 19 January 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= info2man
PORTVERSION= 20040717
CATEGORIES= textproc
MASTER_SITES= http://www.cskk.ezoshosting.com/cs/css/
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Translate GNU info files into man pages
USE_PERL5= yes
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLSCRIPTS= info2man info2pod
pre-configure:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/info2pod
do-install:
${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/cs ${DATADIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (info2man-20040717/info2man.tar.gz) = 303b9bf313e88558ff577806398f6c4c
SIZE (info2man-20040717/info2man.tar.gz) = 22263

View File

@ -0,0 +1,11 @@
--- info2pod.orig Fri Apr 9 10:03:56 2004
+++ info2pod Sat Jan 22 21:23:24 2005
@@ -28,6 +28,8 @@
use strict qw(vars);
+use lib '%%DATADIR%%/';
+
use cs::Misc;
use cs::Sink;
use cs::GNUInfo;

View File

@ -0,0 +1,9 @@
info2man converts GNU info files to pod or -man formats.
GNU info can be a pain as it demands its own special pager, it's a binary
format, it's cruder than HTML and less documented, and most GNU- authored
manual entries basically say "we like info so we don't maintain this manual
entry, thus it is probably wrong". info2man thus converts info files so that
they can be read by ordinary tools.
WWW: http://www.cskk.ezoshosting.com/cs/css/info2pod.html

View File

@ -0,0 +1,15 @@
bin/info2man
bin/info2pod
%%DATADIR%%/cs/DEBUG.pm
%%DATADIR%%/cs/GNUInfo.pm
%%DATADIR%%/cs/GNUInfo/Node.pm
%%DATADIR%%/cs/IO.pm
%%DATADIR%%/cs/Math.pm
%%DATADIR%%/cs/Misc.pm
%%DATADIR%%/cs/Object.pm
%%DATADIR%%/cs/Pathname.pm
%%DATADIR%%/cs/Sink.pm
%%DATADIR%%/cs/Source.pm
@dirrm %%DATADIR%%/cs/GNUInfo
@dirrm %%DATADIR%%/cs
@dirrm %%DATADIR%%