ports/mail/libpst/files/patch-Makefile
Marcus Alves Grando f146dd6db4 Update to 0.5.1
Change home of project

PR:		86554
Submitted by:	Jonathan <afarsec@012.net.il>
Approved by:	pav (mentor), natey@natey.com (maintainer)
2005-09-27 17:41:00 +00:00

40 lines
1.5 KiB
Text

--- Makefile.orig Wed Nov 17 14:16:02 2004
+++ Makefile Mon Sep 26 17:34:36 2005
@@ -6,10 +6,10 @@
#---------------- Do not modify below this point ------------------
-INSTALL_DIR := $(INSTALL) -p -d -o root -g root -m 0755
-INSTALL_FILE := $(INSTALL) -p -o root -g root -m 0644
-INSTALL_PROGRAM := $(INSTALL) -p -o root -g root -m 0755 # -s
-INSTALL_SCRIPT := $(INSTALL) -p -o root -g root -m 0755
+INSTALL_DIR := $(INSTALL) -p -d -o root -g wheel -m 0755
+INSTALL_FILE := $(INSTALL) -p -o root -g wheel -m 0644
+INSTALL_PROGRAM := $(INSTALL) -p -o root -g wheel -m 0755 # -s
+INSTALL_SCRIPT := $(INSTALL) -p -o root -g wheel -m 0755
VERSION = $(shell cat VERSION)
@@ -53,11 +53,18 @@
distclean: clean
rm -f libpst-*.tar.gz
-install: all
+install: installbin
+
+installbin: all
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin
- $(INSTALL_PROGRAM) readpst{,log} $(DESTDIR)$(PREFIX)/bin
- $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/man/man1
- $(INSTALL_FILE) readpst{,log}.1 $(DESTDIR)$(PREFIX)/share/man/man1/
+ $(INSTALL_PROGRAM) readpst $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_PROGRAM) readpstlog $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_PROGRAM) lspst $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/man/man1
+ $(INSTALL_FILE) readpst.1 $(DESTDIR)$(PREFIX)/man/man1/
+ $(INSTALL_FILE) readpstlog.1 $(DESTDIR)$(PREFIX)/man/man1/
+
+installdocs:
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/doc/libpst
$(INSTALL_FILE) $(DOCS) $(DESTDIR)$(PREFIX)/share/doc/libpst/