- update to 0.91.4
- add a tk flavour
This commit is contained in:
parent
4e56cfc22f
commit
eb4272d1c3
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.68 2001/09/20 13:33:21 shell Exp $
|
||||
# $OpenBSD: Makefile,v 1.69 2001/10/29 19:12:34 jasoni Exp $
|
||||
# $FreeBSD: Makefile,v 1.15 1997/11/22 00:31:24 jseger Exp $
|
||||
#
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
SUBDIR += aspell
|
||||
SUBDIR += c2html
|
||||
SUBDIR += catdoc
|
||||
SUBDIR += catdoc,tk
|
||||
SUBDIR += clo++
|
||||
SUBDIR += docbook
|
||||
SUBDIR += docbook-dsssl
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2001/05/29 23:22:44 jasoni Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2001/10/29 19:12:34 jasoni Exp $
|
||||
|
||||
COMMENT= "MS Word ==> ASCII or TeX, Tk viewer included"
|
||||
|
||||
DISTNAME= catdoc-0.90.3
|
||||
DISTNAME= catdoc-0.91.4
|
||||
CATEGORIES= textproc
|
||||
NEED_VERSION= 1.402
|
||||
MASTER_SITES= ftp://ftp.ice.ru/pub/vitus/
|
||||
@ -16,7 +16,14 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
RUN_DEPENDS= wish8.0::x11/tk/8.0
|
||||
FLAVORS= tk
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mtk}
|
||||
RUN_DEPENDS= wish8.0::x11/tk/8.0
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-wordview
|
||||
.endif
|
||||
|
||||
CONFIGURE_STYLE=gnu dest
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (catdoc-0.90.3.tar.gz) = 54f3b3789d241a346378a13023f624b7
|
||||
RMD160 (catdoc-0.90.3.tar.gz) = d4cbc6c93203818916ff597650ea8fd69243c973
|
||||
SHA1 (catdoc-0.90.3.tar.gz) = bf5e2912e6a7196dd236486fc1b00fcedaecfa4b
|
||||
MD5 (catdoc-0.91.4.tar.gz) = 7ca7feaea0fe3d047eaa3d9aa3d467d1
|
||||
RMD160 (catdoc-0.91.4.tar.gz) = 9d831a24e9c496358e4d22dce54e8510495bc5ef
|
||||
SHA1 (catdoc-0.91.4.tar.gz) = cefd48dcffe72834a29c6d9659708cde0654e25a
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2001/03/17 15:47:59 wilfried Exp $
|
||||
--- src/Makefile.in.orig Thu Sep 17 21:37:05 1998
|
||||
+++ src/Makefile.in Fri Mar 16 20:29:27 2001
|
||||
@@ -60,7 +60,7 @@ DEFINES=-DSYSTEMRC=\"$(SYSTEMRC)\" -DUSE
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.2 2001/10/29 19:12:34 jasoni Exp $
|
||||
--- src/Makefile.in.orig Mon Oct 29 10:40:34 2001
|
||||
+++ src/Makefile.in Mon Oct 29 10:41:05 2001
|
||||
@@ -61,7 +61,7 @@ DEFINES=-DSYSTEMRC=\"$(SYSTEMRC)\" -DUSE
|
||||
-DREPL_EXT=\"$(REPL_EXT)\" -DUNKNOWN_CHAR=\'$(UNKNOWN_CHAR)\'\
|
||||
-DSOURCE_CHARSET=\"$(SOURCE_CHARSET)\" -DTARGET_CHARSET=\"$(TARGET_CHARSET)\"
|
||||
|
||||
-CFLAGS=$(FLAGS) $(DEFINES)
|
||||
+CFLAGS=@CFLAGS@ $(DEFINES)
|
||||
OBJ=catdoc.o charsets.o substmap.o reader.o writer.o fileutil.o
|
||||
#.c.o:
|
||||
# $(CC) -c $(CFLAGS) $*
|
||||
-CFLAGS=$(FLAGS) $(DEFINES) @DEFS@
|
||||
+CFLAGS=@CFLAGS@ $(FLAGS) $(DEFINES) @DEFS@
|
||||
OBJ=catdoc.o charsets.o substmap.o reader.o writer.o fileutil.o\
|
||||
confutil.o analyze.o rtfreader.o
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-src_catdoc_h,v 1.1 2001/05/29 23:22:44 jasoni Exp $
|
||||
--- src/catdoc.h.orig Tue May 29 13:05:03 2001
|
||||
+++ src/catdoc.h Tue May 29 13:06:42 2001
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#ifdef __unix
|
||||
+#ifdef __unix__
|
||||
#ifndef USERC
|
||||
#define USERRC ".catdocrc"
|
||||
#endif
|
||||
@@ -39,7 +39,7 @@ char *add_exe_path(const char* name);
|
||||
#endif
|
||||
|
||||
#define CHARSET_EXT ".txt"
|
||||
-#ifdef __unix
|
||||
+#ifdef __unix__
|
||||
#ifndef TARGET_CHARSET
|
||||
#define TARGET_CHARSET "koi8-r"
|
||||
#endif
|
3
textproc/catdoc/pkg/PFRAG.tk
Normal file
3
textproc/catdoc/pkg/PFRAG.tk
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.tk,v 1.1 2001/10/29 19:12:34 jasoni Exp $
|
||||
bin/wordview
|
||||
bin/xlsview
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/10/29 19:12:34 jasoni Exp $
|
||||
bin/catdoc
|
||||
bin/wordview
|
||||
man/man1/catdoc.1
|
||||
bin/xls2csv
|
||||
%%tk%%
|
||||
lib/catdoc/8859-1.txt
|
||||
lib/catdoc/8859-2.txt
|
||||
lib/catdoc/8859-3.txt
|
||||
@ -36,8 +37,11 @@ lib/catdoc/cp866.txt
|
||||
lib/catdoc/cp869.txt
|
||||
lib/catdoc/cp874.txt
|
||||
lib/catdoc/koi8-r.txt
|
||||
lib/catdoc/koi8-u.txt
|
||||
lib/catdoc/tex.replchars
|
||||
lib/catdoc/tex.specchars
|
||||
lib/catdoc/us-ascii.txt
|
||||
lib/catdoc/x-mac-cyrillic.txt
|
||||
man/man1/catdoc.1
|
||||
man/man1/xls2csv.1
|
||||
@dirrm lib/catdoc
|
||||
|
Loading…
Reference in New Issue
Block a user