summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-06-10 09:42:18 +0000
committertg <tg@FreeBSD.org>1998-06-10 09:42:18 +0000
commite503ca690c5f124de191ce290c72fbf22d4733bf (patch)
tree7f56afbc8bf6cd6f2656e4fb96b2f326b7b20a4d /textproc
parent67d89f1cd349b46e3f906a47c38426d66696758b (diff)
downloadFreeBSD-ports-e503ca690c5f124de191ce290c72fbf22d4733bf.zip
FreeBSD-ports-e503ca690c5f124de191ce290c72fbf22d4733bf.tar.gz
New port word2x, a converter from MS Word to text, HTML or LaTeX.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/word2x/Makefile21
-rw-r--r--textproc/word2x/distinfo1
-rw-r--r--textproc/word2x/files/patch-aa25
-rw-r--r--textproc/word2x/pkg-comment1
-rw-r--r--textproc/word2x/pkg-descr5
-rw-r--r--textproc/word2x/pkg-plist3
6 files changed, 56 insertions, 0 deletions
diff --git a/textproc/word2x/Makefile b/textproc/word2x/Makefile
new file mode 100644
index 0000000..b49d9de
--- /dev/null
+++ b/textproc/word2x/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: word2x
+# Version required: 0.001
+# Date created: 10 June 1998
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+
+DISTNAME= word2x
+PKGNAME= word2x-0.001
+CATEGORIES= textproc
+MASTER_SITES= ftp://word2x.astra.co.uk/pub/word2x/
+
+MAINTAINER= ports@FreeBSD.ORG
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
+
+MAN1= word2x.1
+
+.include <bsd.port.mk>
diff --git a/textproc/word2x/distinfo b/textproc/word2x/distinfo
new file mode 100644
index 0000000..b362d91
--- /dev/null
+++ b/textproc/word2x/distinfo
@@ -0,0 +1 @@
+MD5 (word2x.tar.gz) = 286e2ddde00aff365debe7e1fb48aa30
diff --git a/textproc/word2x/files/patch-aa b/textproc/word2x/files/patch-aa
new file mode 100644
index 0000000..2cae88f
--- /dev/null
+++ b/textproc/word2x/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.in.orig Tue Apr 21 02:38:00 1998
++++ Makefile.in Wed Jun 10 11:32:12 1998
+@@ -6,10 +6,10 @@
+ CPP=@CXX@
+
+ #seek_set_hdr is a hack for Sun OS (and others? I hope not)
+-CPPFLAGS=-g -Wall @DEFS@ @seek_set_hdr@
++CPPFLAGS=@CXXFLAGS@ @DEFS@ @seek_set_hdr@
+ LD=@ld@
+
+-CCFLAGS=-O3 @DEFS@
++CCFLAGS=@CFLAGS@ @DEFS@
+ LIBOBJS=wordwrap.o nullproc.o tblock.o scan_num.o map_chars.o col-align.o \
+ compat.o ukdate.o usdate.o num_unit_probe.o part_num_probe.o
+ AR=ar
+@@ -89,7 +89,7 @@
+ $(CPP) -o $@ $(PROGOBJS)
+
+ install: $(TARGETS) $(MANP)
+- @INSTALL@ $(MANP) -m 644 @mandir@/man1
++ @INSTALL_DATA@ $(MANP) @mandir@/man1
+ for I in $(TARGETS); do \
+- @INSTALL@ $${I} -m 755 @bindir@; \
++ @INSTALL_PROGRAM@ $${I} @bindir@; \
+ done
diff --git a/textproc/word2x/pkg-comment b/textproc/word2x/pkg-comment
new file mode 100644
index 0000000..fbb1420
--- /dev/null
+++ b/textproc/word2x/pkg-comment
@@ -0,0 +1 @@
+Converter from MS Word to text, HTML or LaTeX.
diff --git a/textproc/word2x/pkg-descr b/textproc/word2x/pkg-descr
new file mode 100644
index 0000000..e8f144e
--- /dev/null
+++ b/textproc/word2x/pkg-descr
@@ -0,0 +1,5 @@
+Despite the fact that open formats like rtf are good and widely
+avialable far too many idiots seem to insist on using word .doc
+format. This program is an attempt to limit the damage this causes
+users of non-microsoft systems and text processing systems, for
+example LaTeX.
diff --git a/textproc/word2x/pkg-plist b/textproc/word2x/pkg-plist
new file mode 100644
index 0000000..937a7eb
--- /dev/null
+++ b/textproc/word2x/pkg-plist
@@ -0,0 +1,3 @@
+bin/rtest2
+bin/word2x
+man/man1/word2x.1.gz
OpenPOWER on IntegriCloud