summaryrefslogtreecommitdiff
path: root/textproc/xls2xml
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-27 02:12:34 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-27 02:12:34 +0000
commit17a34ce292fe90d778e5e3543d443624b6a04d43 (patch)
tree32c6138253de2313e4beb6df2421de0deee63e2b /textproc/xls2xml
parentAdding cole version 2.0.1 (diff)
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>
Notes
Notes: svn path=/head/; revision=24139
Diffstat (limited to 'textproc/xls2xml')
-rw-r--r--textproc/xls2xml/Makefile21
-rw-r--r--textproc/xls2xml/distinfo1
-rw-r--r--textproc/xls2xml/files/patch-aa12
-rw-r--r--textproc/xls2xml/files/patch-ab11
-rw-r--r--textproc/xls2xml/files/patch-ac11
-rw-r--r--textproc/xls2xml/pkg-comment1
-rw-r--r--textproc/xls2xml/pkg-descr7
-rw-r--r--textproc/xls2xml/pkg-plist12
8 files changed, 76 insertions, 0 deletions
diff --git a/textproc/xls2xml/Makefile b/textproc/xls2xml/Makefile
new file mode 100644
index 000000000000..d6436b16e1f2
--- /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 000000000000..8434c432829d
--- /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 000000000000..94028713d8b1
--- /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 000000000000..ff2d0a798368
--- /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 000000000000..ab8a933d3960
--- /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 000000000000..d8242480f35e
--- /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 000000000000..6b3cb297d074
--- /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 000000000000..3a4dcc496635
--- /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