summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-05-14 23:49:29 +0000
committertv <tv@pkgsrc.org>1998-05-14 23:49:29 +0000
commitd761840f817ae96b951e61fd350e6f0155582b80 (patch)
tree71a72f977fd2b02d0e3835623a10860265e3aa4b
parentf95c1906ae64ae0cc658c61ca7700c3ec34ab243 (diff)
downloadpkgsrc-d761840f817ae96b951e61fd350e6f0155582b80.tar.gz
Add texi2html, a TeXinfo-to-HTML translator.
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/texi2html/Makefile34
-rw-r--r--textproc/texi2html/files/md51
-rw-r--r--textproc/texi2html/pkg/COMMENT1
-rw-r--r--textproc/texi2html/pkg/DESCR6
-rw-r--r--textproc/texi2html/pkg/PLIST5
6 files changed, 49 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c7ca016acfb..80cb5e212dd 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/04/15 10:38:50 agc Exp $
+# $NetBSD: Makefile,v 1.7 1998/05/14 23:49:29 tv Exp $
# FreeBSD Id: Makefile,v 1.13 1997/10/13 11:11:32 itojun Exp
#
@@ -19,6 +19,7 @@
SUBDIR += rman
# SUBDIR += sgmlformat
# SUBDIR += sp
+ SUBDIR += texi2html
SUBDIR += unroff
# SUBDIR += wdiff
diff --git a/textproc/texi2html/Makefile b/textproc/texi2html/Makefile
new file mode 100644
index 00000000000..0bad3cbb64c
--- /dev/null
+++ b/textproc/texi2html/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 1998/05/14 23:49:30 tv Exp $
+#
+
+DISTNAME= texi2html
+PKGNAME= texi2html-1.52
+CATEGORIES= textproc
+MASTER_SITES= http://wwwcn1.cern.ch/dci/texi2html/
+EXTRACT_SUFX= .shar.Z
+
+MAINTAINER= tv@netbsd.org
+
+USE_PERL5= YES
+
+EXTRACT_CMD= ${GZCAT}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+
+NO_WRKSUBDIR= yes
+NO_CONFIGURE= yes
+
+MAN1= texi2html.1
+
+do-build:
+ cd ${WRKSRC}; \
+ ${SED} -e s@/usr/local/bin/perl@${PREFIX}/bin/perl@ texi2html >texi2html.new; \
+ ${SED} -e 1,/__END__/d texi2html >texi2html.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/texi2html.new ${PREFIX}/bin/texi2html
+ ${INSTALL_DATA} ${WRKSRC}/texi2html.1 ${PREFIX}/man/man1/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/texi2html
+ ${INSTALL_DATA} ${WRKSRC}/invisible.xbm ${PREFIX}/share/texi2html
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/texi2html/files/md5 b/textproc/texi2html/files/md5
new file mode 100644
index 00000000000..39b95c7bb3b
--- /dev/null
+++ b/textproc/texi2html/files/md5
@@ -0,0 +1 @@
+MD5 (texi2html.shar.Z) = a0292ee56320bbbd79afc74555bd69ee
diff --git a/textproc/texi2html/pkg/COMMENT b/textproc/texi2html/pkg/COMMENT
new file mode 100644
index 00000000000..fc68d4d7845
--- /dev/null
+++ b/textproc/texi2html/pkg/COMMENT
@@ -0,0 +1 @@
+A Texinfo-to-HTML direct translator.
diff --git a/textproc/texi2html/pkg/DESCR b/textproc/texi2html/pkg/DESCR
new file mode 100644
index 00000000000..0862ff9dfdb
--- /dev/null
+++ b/textproc/texi2html/pkg/DESCR
@@ -0,0 +1,6 @@
+Texi2html is a Perl program which translates Texinfo files to pure HTML with
+no Info or other format in-between.
+
+More information about texi2html can be found at its home page:
+
+http://wwwcn1.cern.ch/dci/texi2html/
diff --git a/textproc/texi2html/pkg/PLIST b/textproc/texi2html/pkg/PLIST
new file mode 100644
index 00000000000..50e6ef1b3b6
--- /dev/null
+++ b/textproc/texi2html/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 1998/05/14 23:49:30 tv Exp $
+bin/texi2html
+man/man1/texi2html.1.gz
+share/texi2html/invisible.xbm
+@dirrm share/texi2html