View | Details | Raw Unified | Return to bug 122219
Collapse All | Expand All

(-)catdoc/Makefile (-6 / +13 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	catdoc
8
PORTNAME=	catdoc
9
PORTVERSION=	0.94.2
9
PORTVERSION=	0.94.2
10
PORTREVISION=	1
10
CATEGORIES=	textproc
11
CATEGORIES=	textproc
11
MASTER_SITES=	http://www.amdmi3.ru/distfiles/ \
12
MASTER_SITES=	http://www.amdmi3.ru/distfiles/ \
12
		ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \
13
		ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \
Lines 19-25 Link Here
19
20
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
USE_GMAKE=	yes
22
USE_GMAKE=	yes
22
MAN1=		catdoc.1 wordview.1 xls2csv.1 catppt.1
23
MAN1=		catdoc.1 xls2csv.1 catppt.1
24
25
OPTIONS=	WORDVIEW	"Build Tcl/Tk document viewer" On
23
26
24
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
27
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
25
# Remove the below line to get Cyrillic code page support instead
28
# Remove the below line to get Cyrillic code page support instead
Lines 31-41 Link Here
31
34
32
.include <bsd.port.pre.mk>
35
.include <bsd.port.pre.mk>
33
36
34
.for i in 0 1 2 3 4
37
.if defined(WITH_WORDVIEW)
35
.if exists(${LOCALBASE}/bin/wish8.${i})
38
USE_TK= 		80+
36
CONFIGURE_ARGS=	--with-wish=${LOCALBASE}/bin/wish8.${i}
39
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
37
RUN_DEPENDS+=	${LOCALBASE}/bin/wish8.${i}:${PORTSDIR}/x11-toolkits/tk8${i}
40
CONFIGURE_ARGS+=	--with-wish=${WISH}
41
PLIST_SUB+=		WORDVIEW=""
42
MAN1+=			wordview.1
43
.else
44
CONFIGURE_ARGS+=	--disable-wordview
45
PLIST_SUB+=		WORDVIEW="@comment "
38
.endif
46
.endif
39
.endfor
40
47
41
.include <bsd.port.post.mk>
48
.include <bsd.port.post.mk>
(-)catdoc/pkg-descr (-18 / +9 lines)
Lines 1-19 Link Here
1
This is a program for viewing MS Word documents.  It produces plain
1
This is a program for viewing RTF and MS Word 97 documents.  It produces
2
text output and can optionally convert non-standard characters into 
2
plain text output and can optionally convert some non-standard characters
3
TeX control sequences.  It works with MS Word 97 documents.
3
into TeX control sequences.  It has rudimentary table handling in TeX
4
4
mode.  Also included are:
5
There is also a cute little Tcl/Tk program included called wordview, which
5
- wordview, a small GUI frontend to catdoc that works with Tcl/Tk 7.6 and up;
6
is basically a small GUI frontend to catdoc for viewing word documents.
6
- xls2csv, which converts Excel spreadsheets to plain text files with CSV
7
The wordview program works with Tcl 7.6 and up, but uses Tk 8.0 by default.
7
  (comma-separated value) lines; and
8
8
- catppt, which extracts text from PowerPoint files.
9
There are two more utilities, xls2csv and xlsview, for dealing with
10
MS Excel spreadsheets.  xls2csv converts an Excel spreadsheet to a plain
11
text file with CSV (comma-separated values) lines.
12
13
WWW: http://www.45.free.net/~vitus/software/catdoc/
14
15
- Brion
16
brion@queeg.com
17
9
18
- Steve
10
WWW: http://wagner.pp.ru/~vitus/software/catdoc/
19
steve@farrell.org
(-)catdoc/pkg-plist (-1 / +1 lines)
Lines 1-6 Link Here
1
bin/catdoc
1
bin/catdoc
2
bin/catppt
2
bin/catppt
3
bin/wordview
3
%%WORDVIEW%%bin/wordview
4
bin/xls2csv
4
bin/xls2csv
5
%%DATADIR%%/8859-1.txt
5
%%DATADIR%%/8859-1.txt
6
%%DATADIR%%/8859-10.txt
6
%%DATADIR%%/8859-10.txt

Return to bug 122219