summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbacon <bacon@pkgsrc.org>2018-03-21 19:20:20 +0000
committerbacon <bacon@pkgsrc.org>2018-03-21 19:20:20 +0000
commiteeaed535c6642040157bd436142bf6e0fade08ac (patch)
treefe93c74bc20c90543c9f8a228a5f63ab9bdf86d4
parentadd6129858788bd8e6c0df9315281bb9dea5fce7 (diff)
downloadpkgsrc-eeaed535c6642040157bd436142bf6e0fade08ac.tar.gz
textproc/man2html: import man2html-3.0.1
Convert UNIX nroff(1) manual pages to HTML format.
-rw-r--r--textproc/man2html/DESCR1
-rw-r--r--textproc/man2html/Makefile27
-rw-r--r--textproc/man2html/PLIST3
-rw-r--r--textproc/man2html/distinfo6
4 files changed, 37 insertions, 0 deletions
diff --git a/textproc/man2html/DESCR b/textproc/man2html/DESCR
new file mode 100644
index 00000000000..374f05f4a4a
--- /dev/null
+++ b/textproc/man2html/DESCR
@@ -0,0 +1 @@
+Convert UNIX nroff(1) manual pages to HTML format.
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile
new file mode 100644
index 00000000000..9e8a0a10b1d
--- /dev/null
+++ b/textproc/man2html/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2018/03/21 19:20:20 bacon Exp $
+
+DISTNAME= man2html3.0.1
+PKGNAME= ${DISTNAME:S/html/html-/}
+CATEGORIES= textproc
+MASTER_SITES+= https://acadix.biz/Ports/distfiles/
+MASTER_SITES+= http://hydra.nac.uci.edu/indiv/ehood/tar/
+MASTER_SITES+= ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/
+MASTER_SITES+= http://people.freebsd.org/~demon/
+
+MAINTAINER= bacon@NetBSD.org
+HOMEPAGE= http://www.nongnu.org/man2html/
+COMMENT= Convert nroff(1) man pages to HTML
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= perl:run
+NO_BUILD= yes
+
+REPLACE_PERL= man2html
+
+INSTALLATION_DIRS= bin ${PREFIX}/${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/man2html ${DESTDIR}/${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/man2html/PLIST b/textproc/man2html/PLIST
new file mode 100644
index 00000000000..9a7c22d3a3d
--- /dev/null
+++ b/textproc/man2html/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/21 19:20:20 bacon Exp $
+bin/man2html
+man/man1/man2html.1
diff --git a/textproc/man2html/distinfo b/textproc/man2html/distinfo
new file mode 100644
index 00000000000..16be1aa0179
--- /dev/null
+++ b/textproc/man2html/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/21 19:20:20 bacon Exp $
+
+SHA1 (man2html3.0.1.tar.gz) = 18b617783ce59491db984d23d2b0c8061bff385c
+RMD160 (man2html3.0.1.tar.gz) = f3463926acc414a5f934e2cf1fd6fd59dcc454bd
+SHA512 (man2html3.0.1.tar.gz) = 6a57ff109cfc9d8a31150990f3a2304ee46956feeead9d528344be19ac252afb47bed36a470d3a9e9505ef7134b77a1edf30f5c97e8215c2c5d235cf8aee8565
+Size (man2html3.0.1.tar.gz) = 45371 bytes