aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rtf2htm
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-09-03 13:48:06 +0800
committerijliao <ijliao@FreeBSD.org>2001-09-03 13:48:06 +0800
commit1c45326fa7a184c106d4fae7fd49128105c18871 (patch)
tree2d84928b5f8c52a59a32022e2ce0f49b3c2884a5 /textproc/rtf2htm
parent542a92d7a868c559f4b3510f73f1960b8fe2eb83 (diff)
downloadfreebsd-ports-gnome-1c45326fa7a184c106d4fae7fd49128105c18871.tar.gz
freebsd-ports-gnome-1c45326fa7a184c106d4fae7fd49128105c18871.tar.zst
freebsd-ports-gnome-1c45326fa7a184c106d4fae7fd49128105c18871.zip
add rtf2htm
A command-line converter from RTF (Rich Text) to HTML
Diffstat (limited to 'textproc/rtf2htm')
-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
5 files changed, 37 insertions, 0 deletions
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