aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-01-14 17:03:26 +0800
committerjim <jim@FreeBSD.org>2002-01-14 17:03:26 +0800
commit59238580af3720c37ea8a6ace4b523b43ab18f93 (patch)
treeadffc7cf966b546241daa33248d6d9daffc3c588 /textproc
parentc7c6e29cd1ad59cfbe0d2a4af1e60226768d1c55 (diff)
downloadfreebsd-ports-gnome-59238580af3720c37ea8a6ace4b523b43ab18f93.tar.gz
freebsd-ports-gnome-59238580af3720c37ea8a6ace4b523b43ab18f93.tar.zst
freebsd-ports-gnome-59238580af3720c37ea8a6ace4b523b43ab18f93.zip
New port of rtfreader, a program to read application/ms-rtf files.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rtfreader/Makefile24
-rw-r--r--textproc/rtfreader/distinfo1
-rw-r--r--textproc/rtfreader/files/patch-aa12
-rw-r--r--textproc/rtfreader/pkg-comment1
-rw-r--r--textproc/rtfreader/pkg-descr9
-rw-r--r--textproc/rtfreader/pkg-message3
-rw-r--r--textproc/rtfreader/pkg-plist1
8 files changed, 52 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c74b5dc24637..1136f7c4ffd8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -205,6 +205,7 @@
SUBDIR += rot
SUBDIR += rotix
SUBDIR += rtf2htm
+ SUBDIR += rtfreader
SUBDIR += ruby-csv
SUBDIR += ruby-erb
SUBDIR += ruby-format
diff --git a/textproc/rtfreader/Makefile b/textproc/rtfreader/Makefile
new file mode 100644
index 000000000000..7c501d154b6c
--- /dev/null
+++ b/textproc/rtfreader/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: rtfreader
+# Date created: 14 Jan 2002
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rtfreader
+PORTVERSION= 1.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.fiction.net/blong/programs/
+DISTNAME= ms-rtf
+
+MAINTAINER= jim@FreeBSD.org
+
+ALL_TARGET= rtfreader
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/rtfreader ${PREFIX}/bin
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/textproc/rtfreader/distinfo b/textproc/rtfreader/distinfo
new file mode 100644
index 000000000000..c63118cbaf5d
--- /dev/null
+++ b/textproc/rtfreader/distinfo
@@ -0,0 +1 @@
+MD5 (ms-rtf.tar.gz) = fa203d863ec479b36bcbed3abdd4e77e
diff --git a/textproc/rtfreader/files/patch-aa b/textproc/rtfreader/files/patch-aa
new file mode 100644
index 000000000000..fe25541be31a
--- /dev/null
+++ b/textproc/rtfreader/files/patch-aa
@@ -0,0 +1,12 @@
+--- Makefile.orig Mon Jan 14 00:40:08 2002
++++ Makefile Mon Jan 14 00:40:20 2002
+@@ -1,7 +1,7 @@
+
+
+-CC = gcc
+-CFLAGS = -O2
++CC ?= gcc
++CFLAGS += -O2
+
+ rtfreader: rtfactn.o rtfreadr.o
+ $(CC) -o rtfreader rtfreadr.o rtfactn.o
diff --git a/textproc/rtfreader/pkg-comment b/textproc/rtfreader/pkg-comment
new file mode 100644
index 000000000000..f40f4834be81
--- /dev/null
+++ b/textproc/rtfreader/pkg-comment
@@ -0,0 +1 @@
+A portable application/ms-rtf parser
diff --git a/textproc/rtfreader/pkg-descr b/textproc/rtfreader/pkg-descr
new file mode 100644
index 000000000000..4a861a509848
--- /dev/null
+++ b/textproc/rtfreader/pkg-descr
@@ -0,0 +1,9 @@
+RTF is the Microsoft Richtext Format, a more portable, mostly-ASCII
+formatting language that is exported by word processors like MS Word.
+These files generally have the extension .rtf, but occassionally have
+.doc extensions as well. This parser is from the Microsoft spec,
+"ported" to Unix systems.
+
+WWW: http://www.fiction.net/blong/programs/#rtf
+
+- jim <jim@FreeBSD.org>
diff --git a/textproc/rtfreader/pkg-message b/textproc/rtfreader/pkg-message
new file mode 100644
index 000000000000..70b170b9f781
--- /dev/null
+++ b/textproc/rtfreader/pkg-message
@@ -0,0 +1,3 @@
+--------------------------------------------------------------
+Usage: To use this port, simply run "rtfreader filename.rtf".
+--------------------------------------------------------------
diff --git a/textproc/rtfreader/pkg-plist b/textproc/rtfreader/pkg-plist
new file mode 100644
index 000000000000..9a0ea2c8e88f
--- /dev/null
+++ b/textproc/rtfreader/pkg-plist
@@ -0,0 +1 @@
+bin/rtfreader