Changeset View
Changeset View
Standalone View
Standalone View
mail/mblaze/files/patch-GNUmakefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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 | |||||
mat: This is so wrong.
* `PREFIX` is where the port installs itself
* `LOCALBASE` is where the port… | |||||
Not Done Inline ActionsOkay, thanks @mat. loader: Okay, thanks @mat. | |||||
+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 | |||||
Done Inline ActionsIt would be better to use ${BSD_INSTALL_PROGRAM} and ${BSD_INSTALL_SCRIPT} so that this respects debug and strip flags. mat: It would be better to use ${BSD_INSTALL_PROGRAM} and ${BSD_INSTALL_SCRIPT} so that this… | |||||
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/-[^.]*$$//') && \ |
This is so wrong.