1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/mail/libpst/files/patch-ac
Edwin Groothuis caaa6963da 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>
2003-01-18 02:14:32 +00:00

25 lines
602 B
Plaintext

--- 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 *~