summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-09-03 05:48:06 +0000
committerijliao <ijliao@FreeBSD.org>2001-09-03 05:48:06 +0000
commit1c45326fa7a184c106d4fae7fd49128105c18871 (patch)
tree2d84928b5f8c52a59a32022e2ce0f49b3c2884a5 /textproc
parent542a92d7a868c559f4b3510f73f1960b8fe2eb83 (diff)
downloadFreeBSD-ports-1c45326fa7a184c106d4fae7fd49128105c18871.zip
FreeBSD-ports-1c45326fa7a184c106d4fae7fd49128105c18871.tar.gz
add rtf2htm
A command-line converter from RTF (Rich Text) to HTML
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rtf2htm/Makefile29
-rw-r--r--textproc/rtf2htm/distinfo1
-rw-r--r--textproc/rtf2htm/pkg-comment1
-rw-r--r--textproc/rtf2htm/pkg-descr5
-rw-r--r--textproc/rtf2htm/pkg-plist1
6 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ce3f96c..d89c1c0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -161,6 +161,7 @@
SUBDIR += rand
SUBDIR += replaceit
SUBDIR += rman
+ SUBDIR += rtf2htm
SUBDIR += ruby-csv
SUBDIR += ruby-erb
SUBDIR += ruby-gdome
diff --git a/textproc/rtf2htm/Makefile b/textproc/rtf2htm/Makefile
new file mode 100644
index 0000000..69c4e5f
--- /dev/null
+++ b/textproc/rtf2htm/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# New ports collection makefile for: rtf2htm
+# Date created: Sep 3, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= rtf2htm
+PORTVERSION= 0.17.1
+CATEGORIES= textproc
+MASTER_SITES= http://recycle.50megs.com/
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKEFILE= makefile
+
+MANCOMPRESSED= no
+MAN1= rtf2htm.1
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtf2htm ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/textproc/rtf2htm/distinfo b/textproc/rtf2htm/distinfo
new file mode 100644
index 0000000..a23edf2
--- /dev/null
+++ b/textproc/rtf2htm/distinfo
@@ -0,0 +1 @@
+MD5 (rtf2htm-0.17.1.tar.gz) = 36120bd83a3a686844c3878e8acc0889
diff --git a/textproc/rtf2htm/pkg-comment b/textproc/rtf2htm/pkg-comment
new file mode 100644
index 0000000..eba9218
--- /dev/null
+++ b/textproc/rtf2htm/pkg-comment
@@ -0,0 +1 @@
+A command-line converter from RTF (Rich Text) to HTML
diff --git a/textproc/rtf2htm/pkg-descr b/textproc/rtf2htm/pkg-descr
new file mode 100644
index 0000000..c307ec9
--- /dev/null
+++ b/textproc/rtf2htm/pkg-descr
@@ -0,0 +1,5 @@
+rtf2htm is a command-line converter from RTF (Rich Text) to HTML with
+support for tables, fonts, embedded images, hyperlinks, paragraph alignment,
+and more.
+
+WWW: http://recycle.50megs.com/rtf2htm.html
diff --git a/textproc/rtf2htm/pkg-plist b/textproc/rtf2htm/pkg-plist
new file mode 100644
index 0000000..b717eef
--- /dev/null
+++ b/textproc/rtf2htm/pkg-plist
@@ -0,0 +1 @@
+bin/rtf2htm
OpenPOWER on IntegriCloud