summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-07 20:50:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-07 20:50:06 +0000
commit696a1950a2e173cb1bec7841c14c2de337a53445 (patch)
tree8b9ab15cc38d870f099eeba9afaaeabe69f8edb1
parentUpdate to 0.9.3. (diff)
A simple rtf2html converter. If no file is specified rtf2html reads from
standard input. PR: ports/83057 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rtf2html/Makefile26
-rw-r--r--textproc/rtf2html/distinfo2
-rw-r--r--textproc/rtf2html/pkg-descr7
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 60ca3f601d22..ab43d6a9d89c 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -589,6 +589,7 @@
SUBDIR += roap
SUBDIR += rot
SUBDIR += rotix
+ SUBDIR += rtf2html
SUBDIR += rtfreader
SUBDIR += rtfx
SUBDIR += rubber
diff --git a/textproc/rtf2html/Makefile b/textproc/rtf2html/Makefile
new file mode 100644
index 000000000000..c06ce20e1e42
--- /dev/null
+++ b/textproc/rtf2html/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: rtf2html
+# Date created: 6 Jul 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rtf2html
+DISTVERSION= 1.1b
+CATEGORIES= textproc
+MASTER_SITES= http://www.45.free.net/~vitus/ice/misc/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A simple rtf2html converter
+
+CFLAGS+= -Wall -Werror
+PLIST_FILES= bin/rtf2html
+
+do-build:
+ ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/textproc/rtf2html/distinfo b/textproc/rtf2html/distinfo
new file mode 100644
index 000000000000..093944388a5e
--- /dev/null
+++ b/textproc/rtf2html/distinfo
@@ -0,0 +1,2 @@
+MD5 (rtf2html.tar.gz) = 823949bf2e1a7fc9d090fd2035b2e828
+SIZE (rtf2html.tar.gz) = 5548
diff --git a/textproc/rtf2html/pkg-descr b/textproc/rtf2html/pkg-descr
new file mode 100644
index 000000000000..59f56a1fa89a
--- /dev/null
+++ b/textproc/rtf2html/pkg-descr
@@ -0,0 +1,7 @@
+A simple rtf2html converter. If no file is specified rtf2html reads from
+standard input.
+
+WWW: http://www.45.free.net/~vitus/ice/misc/
+
+- ehaupt
+ehaupt@critical.ch