summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ce3f96ce0ffe..d89c1c0b3e03 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 000000000000..69c4e5fc52c0
--- /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 000000000000..a23edf26f2ee
--- /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 000000000000..eba92180a14e
--- /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 000000000000..c307ec93b333
--- /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 000000000000..b717eef335ff
--- /dev/null
+++ b/textproc/rtf2htm/pkg-plist
@@ -0,0 +1 @@
+bin/rtf2htm