aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libpst
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-18 10:14:32 +0800
committeredwin <edwin@FreeBSD.org>2003-01-18 10:14:32 +0800
commitd6b555d6b37f593ba5309a215a4f34ff31470f39 (patch)
tree909221438d39b7d611ee7692cd4183330414d950 /mail/libpst
parent63c0163776350e02e4d653ea0b848579de6fc7b4 (diff)
downloadfreebsd-ports-gnome-d6b555d6b37f593ba5309a215a4f34ff31470f39.tar.gz
freebsd-ports-gnome-d6b555d6b37f593ba5309a215a4f34ff31470f39.tar.zst
freebsd-ports-gnome-d6b555d6b37f593ba5309a215a4f34ff31470f39.zip
New port: Tool to convert Outlook .pst to Unix mbox
A small CLI tool to convert M$ Outlook .pst files to standard Unix mbox files. Port is named libpst...actual binary is readpst. PR: ports/39963 Submitted by: Nate Underwood <natey@natey.com>
Diffstat (limited to 'mail/libpst')
-rw-r--r--mail/libpst/Makefile18
-rw-r--r--mail/libpst/distinfo1
-rw-r--r--mail/libpst/files/patch-aa11
-rw-r--r--mail/libpst/files/patch-ab10
-rw-r--r--mail/libpst/files/patch-ac24
-rw-r--r--mail/libpst/pkg-comment1
-rw-r--r--mail/libpst/pkg-descr9
-rw-r--r--mail/libpst/pkg-plist1
8 files changed, 75 insertions, 0 deletions
diff --git a/mail/libpst/Makefile b/mail/libpst/Makefile
new file mode 100644
index 000000000000..fb915a466260
--- /dev/null
+++ b/mail/libpst/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: libpst
+# Date created: 28 June 2002
+# Whom: Nate Underwood <natey@natey.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libpst
+PORTVERSION= 0.4.1
+CATEGORIES= mail converters
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ol2mbox
+DISTNAME= libpst_0.4.1
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= natey@natey.com
+
+.include <bsd.port.mk>
diff --git a/mail/libpst/distinfo b/mail/libpst/distinfo
new file mode 100644
index 000000000000..fa4d9b280899
--- /dev/null
+++ b/mail/libpst/distinfo
@@ -0,0 +1 @@
+MD5 (libpst_0.4.1.tgz) = c574f5c6938cb73bccf7b661b0ad1329
diff --git a/mail/libpst/files/patch-aa b/mail/libpst/files/patch-aa
new file mode 100644
index 000000000000..94c74e3bc8a2
--- /dev/null
+++ b/mail/libpst/files/patch-aa
@@ -0,0 +1,11 @@
+--- libpst.c.orig Fri Dec 13 20:32:35 2002
++++ libpst.c Fri Dec 13 20:32:40 2002
+@@ -3,8 +3,6 @@
+ #include <time.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <getopt.h>
+-//#include <values.h>
+ #include <limits.h>
+
+ #include <errno.h>
diff --git a/mail/libpst/files/patch-ab b/mail/libpst/files/patch-ab
new file mode 100644
index 000000000000..b71bb3d4d6f3
--- /dev/null
+++ b/mail/libpst/files/patch-ab
@@ -0,0 +1,10 @@
+--- readpst.c.orig Fri Dec 13 20:26:53 2002
++++ readpst.c Fri Dec 13 20:27:06 2002
+@@ -3,7 +3,6 @@
+ #include <time.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <getopt.h>
+ #include <limits.h>
+
+ #ifndef WIN32
diff --git a/mail/libpst/files/patch-ac b/mail/libpst/files/patch-ac
new file mode 100644
index 000000000000..3da7417d2a0c
--- /dev/null
+++ b/mail/libpst/files/patch-ac
@@ -0,0 +1,24 @@
+--- Makefile.orig Fri Jan 17 18:09:52 2003
++++ Makefile Fri Jan 17 18:11:11 2003
+@@ -1,3 +1,6 @@
++EPREFIX= $(PREFIX)
++BINDIR= $(EPREFIX)/bin
++
+ all: readpst getidblock
+
+ libpst.o: libpst.c libpst.h define.h
+@@ -19,6 +22,14 @@
+
+ getidblock: getidblock.c define.h libpst.o common.h debug.o
+ gcc -Wall -Werror getidblock.c -g -o getidblock libpst.o debug.o timeconv.o
++
++install: installbin
++
++installbin: readpst
++ mkdir -p $(BINDIR)
++ cp readpst $(BINDIR)
++ strip $(BINDIR)/readpst
++ chmod 755 $(BINDIR)/readpst
+
+ clean:
+ rm -f core readpst libpst.o timeconv.o libstrfunc.o debug.o getidblock *~
diff --git a/mail/libpst/pkg-comment b/mail/libpst/pkg-comment
new file mode 100644
index 000000000000..a4cd9ac65396
--- /dev/null
+++ b/mail/libpst/pkg-comment
@@ -0,0 +1 @@
+A tool for converting Outlook .pst files to Unix mbox format
diff --git a/mail/libpst/pkg-descr b/mail/libpst/pkg-descr
new file mode 100644
index 000000000000..3db7a8831925
--- /dev/null
+++ b/mail/libpst/pkg-descr
@@ -0,0 +1,9 @@
+readpst: A tool for converting Outlook .pst files to Unix mbox format
+
+The aim of this project is to provide libraries and applications for the
+conversion of Outlook and Outlook Express data files to Linux MBOX format.
+
+WWW: http://sourceforge.net/projects/ol2mbox
+
+- Natey
+natey@natey.com
diff --git a/mail/libpst/pkg-plist b/mail/libpst/pkg-plist
new file mode 100644
index 000000000000..0ce3a21dddf9
--- /dev/null
+++ b/mail/libpst/pkg-plist
@@ -0,0 +1 @@
+bin/readpst