New port word2x, a converter from MS Word to text, HTML or LaTeX.

This commit is contained in:
Thomas Gellekum 1998-06-10 09:42:18 +00:00
parent 806e934830
commit 74bb6ba7a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11373
6 changed files with 56 additions and 0 deletions

21
textproc/word2x/Makefile Normal file
View File

@ -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>

1
textproc/word2x/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (word2x.tar.gz) = 286e2ddde00aff365debe7e1fb48aa30

View File

@ -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

View File

@ -0,0 +1 @@
Converter from MS Word to text, HTML or LaTeX.

View File

@ -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.

View File

@ -0,0 +1,3 @@
bin/rtest2
bin/word2x
man/man1/word2x.1.gz