diff options
author | steve <steve@FreeBSD.org> | 1999-12-27 02:12:34 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-27 02:12:34 +0000 |
commit | 3c7b31c4a59c2318bf8af74acdea690bef46087d (patch) | |
tree | 81be985c195f523858ec5abab0526e80211225c1 /textproc | |
parent | 4f099b2db5f5a398ae434a21968b91ae41739c95 (diff) | |
download | FreeBSD-ports-3c7b31c4a59c2318bf8af74acdea690bef46087d.zip FreeBSD-ports-3c7b31c4a59c2318bf8af74acdea690bef46087d.tar.gz |
Adding xls2xml version 1.0.0.
A utility for converting MS Excel files to XML.
PR: 14705 (2 of 2)
Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/xls2xml/Makefile | 21 | ||||
-rw-r--r-- | textproc/xls2xml/distinfo | 1 | ||||
-rw-r--r-- | textproc/xls2xml/files/patch-aa | 12 | ||||
-rw-r--r-- | textproc/xls2xml/files/patch-ab | 11 | ||||
-rw-r--r-- | textproc/xls2xml/files/patch-ac | 11 | ||||
-rw-r--r-- | textproc/xls2xml/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/xls2xml/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/xls2xml/pkg-plist | 12 |
9 files changed, 77 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 25a93a4..88d4663 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -72,6 +72,7 @@ SUBDIR += urlview SUBDIR += wdiff SUBDIR += word2x + SUBDIR += xls2xml SUBDIR += xml4j SUBDIR += xp SUBDIR += xt diff --git a/textproc/xls2xml/Makefile b/textproc/xls2xml/Makefile new file mode 100644 index 0000000..d6436b1 --- /dev/null +++ b/textproc/xls2xml/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: xls2xml +# Version required: 1.0.0 +# Date created: 4 November 1999 +# Whom: Maxim Sobolev <sobomax@altavista.net> +# +# $FreeBSD$ +# + +DISTNAME= xls2xml-1.0.0 +CATEGORIES= textproc +MASTER_SITES= http://arturo.directmail.org/filters/archive/ \ + http://homepages.go.com/~sobomax/filtersweb/ + +MAINTAINER= sobomax@altavista.net + +LIB_DEPENDS= cole.2:${PORTSDIR}/textproc/cole \ + xml.5:${PORTSDIR}/textproc/libxml + +USE_LIBTOOL= yes + +.include <bsd.port.mk> diff --git a/textproc/xls2xml/distinfo b/textproc/xls2xml/distinfo new file mode 100644 index 0000000..8434c43 --- /dev/null +++ b/textproc/xls2xml/distinfo @@ -0,0 +1 @@ +MD5 (xls2xml-1.0.0.tar.gz) = 8eb70feef679244228cacf4aab695b38 diff --git a/textproc/xls2xml/files/patch-aa b/textproc/xls2xml/files/patch-aa new file mode 100644 index 0000000..9402871 --- /dev/null +++ b/textproc/xls2xml/files/patch-aa @@ -0,0 +1,12 @@ +--- rec/p.h.orig Sun Mar 28 01:07:00 1999 ++++ rec/p.h Thu Nov 4 14:45:37 1999 +@@ -20,6 +20,9 @@ + Roberto Arturo Tena Sanchez <arturo@directmail.org> + */ + ++#include <stdlib.h> ++#include "../pcommon.h" ++ + int p06 (void); + int p09 (void); + int p0A (void); diff --git a/textproc/xls2xml/files/patch-ab b/textproc/xls2xml/files/patch-ab new file mode 100644 index 0000000..ff2d0a79 --- /dev/null +++ b/textproc/xls2xml/files/patch-ab @@ -0,0 +1,11 @@ +--- formula.c.orig Thu Nov 4 15:01:23 1999 ++++ formula.c Thu Nov 4 15:01:27 1999 +@@ -642,7 +642,7 @@ + new_record = malloc (sizeof (stack_record)); + test (new_record != NULL, 10); + if (data == NULL) +- new_record->data == NULL; ++ new_record->data = NULL; + else + { + new_record->data = data; diff --git a/textproc/xls2xml/files/patch-ac b/textproc/xls2xml/files/patch-ac new file mode 100644 index 0000000..ab8a933 --- /dev/null +++ b/textproc/xls2xml/files/patch-ac @@ -0,0 +1,11 @@ +--- formula.h.orig Thu Nov 4 14:52:58 1999 ++++ formula.h Thu Nov 4 14:56:07 1999 +@@ -25,6 +25,8 @@ + + #include <cole1compat.h> + #include <stdlib.h> /* FIXME: TEMP to call calloc */ ++#include "xmlunicode.h" ++#include "pcommon.h" + + int fil_parsed_formula2str (char ** result_string, U8 * parsed_expression, + int * volatile_function); diff --git a/textproc/xls2xml/pkg-comment b/textproc/xls2xml/pkg-comment new file mode 100644 index 0000000..d824248 --- /dev/null +++ b/textproc/xls2xml/pkg-comment @@ -0,0 +1 @@ +A utility for converting MS Excel files to XML diff --git a/textproc/xls2xml/pkg-descr b/textproc/xls2xml/pkg-descr new file mode 100644 index 0000000..6b3cb29 --- /dev/null +++ b/textproc/xls2xml/pkg-descr @@ -0,0 +1,7 @@ +xls2xml is a free filter from Microsoft Excel to XML, and a free C library. + +Using the program xls2xml, you can extract the content of a file generated +by Microsoft Excel and express its content using XML. A library written in +C which is able to do the same is provided too. + +WWW: http://arturo.directmail.org/filtersweb/ diff --git a/textproc/xls2xml/pkg-plist b/textproc/xls2xml/pkg-plist new file mode 100644 index 0000000..3a4dcc4 --- /dev/null +++ b/textproc/xls2xml/pkg-plist @@ -0,0 +1,12 @@ +bin/xls2xml +include/xls2xml/defines.h +include/xls2xml/p.h +include/xls2xml/param.h +include/xls2xml/xls2xml.h +include/xls2xml/xmldoc.h +lib/libxls2xml.a +lib/libxls2xml.so +lib/libxls2xml.so.1 +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@dirrm include/xls2xml |