1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/mail/mblaze/files/patch-GNUmakefile
Fukang Chen 3262744fcc [NEW PORT]: mail/mblaze: Unix utilities to deal with Maildir
The mblaze message system is a set of Unix utilities for processing and
interacting with mail messages which are stored in maildir folders.

WWW: https://github.com/chneukirchen/mblaze

Reviewed by:	koobs, mat
Approved by:	koobs (mentor)
Differential Revision:	https://reviews.freebsd.org/D16759
2018-08-20 05:31:06 +00:00

36 lines
1.3 KiB
Plaintext

--- GNUmakefile.orig 2018-08-15 15:16:45 UTC
+++ GNUmakefile
@@ -15,9 +15,8 @@ LDLIBS=-liconv
endif
DESTDIR=
-PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
-MANDIR=$(PREFIX)/share/man
+MANDIR=$(PREFIX)/man
ALL = maddr magrep mdate mdeliver mdirs mexport mflag mflow mgenmid mhdr minc mlist mmime mpick mscan msed mseq mshow msort mthread
SCRIPT = mcolor mcom mless mmkdir mquote museragent
@@ -58,16 +57,17 @@ install: FRC all
$(DESTDIR)$(MANDIR)/man1 \
$(DESTDIR)$(MANDIR)/man5 \
$(DESTDIR)$(MANDIR)/man7
- install -m0755 $(ALL) $(SCRIPT) $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_PROGRAM) $(ALL) $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_SCRIPT) $(SCRIPT) $(DESTDIR)$(BINDIR)
ln -sf mless $(DESTDIR)$(BINDIR)/mnext
ln -sf mless $(DESTDIR)$(BINDIR)/mprev
ln -sf mcom $(DESTDIR)$(BINDIR)/mbnc
ln -sf mcom $(DESTDIR)$(BINDIR)/mfwd
ln -sf mcom $(DESTDIR)$(BINDIR)/mrep
ln -sf mdeliver $(DESTDIR)$(BINDIR)/mrefile
- install -m0644 man/*.1 $(DESTDIR)$(MANDIR)/man1
- install -m0644 man/*.5 $(DESTDIR)$(MANDIR)/man5
- install -m0644 man/*.7 $(DESTDIR)$(MANDIR)/man7
+ $(BSD_INSTALL_MAN) man/*.1 $(DESTDIR)$(MANDIR)/man1
+ $(BSD_INSTALL_MAN) man/*.5 $(DESTDIR)$(MANDIR)/man5
+ $(BSD_INSTALL_MAN) man/*.7 $(DESTDIR)$(MANDIR)/man7
release:
VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \