diff options
Diffstat (limited to 'x11/mons/files/patch-Makefile')
-rw-r--r-- | x11/mons/files/patch-Makefile | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/x11/mons/files/patch-Makefile b/x11/mons/files/patch-Makefile index 11d94bf9299b..e63630a59a18 100644 --- a/x11/mons/files/patch-Makefile +++ b/x11/mons/files/patch-Makefile @@ -1,22 +1,32 @@ --- Makefile.orig 2017-11-25 13:46:52 UTC +++ Makefile -@@ -1,11 +1,12 @@ --PKGNAME = mons --PKGDESC = POSIX Shell script to quickly manage 2-monitors display. -+PKGNAME = mons -+PKGDESC = POSIX Shell script to quickly manage 2-monitors display. +@@ -1,10 +1,9 @@ + PKGNAME = mons + PKGDESC = POSIX Shell script to quickly manage 2-monitors display. -LICENSEDIR = $(DESTDIR)/usr/share/licenses/$(PKGNAME) -MANDIR = $(DESTDIR)/usr/share/man/man1 -BINDIR = $(DESTDIR)/usr/bin -LIBDIR = $(DESTDIR)/usr/lib/libshlist --LIB = libshlist/liblist.sh -+PREFIX = /usr -+LICENSEDIR = $(DESTDIR)$(PREFIX)/share/licenses/$(PKGNAME) -+MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1 -+BINDIR = $(DESTDIR)$(PREFIX)/bin -+LIBDIR = $(DESTDIR)$(PREFIX)/lib/libshlist -+LIB = libshlist/liblist.sh ++MANDIR = $(DESTDIR)$(PREFIX)/man/man1 ++BINDIR = $(DESTDIR)$(PREFIX)/bin ++LIBDIR = $(DESTDIR)$(PREFIX)/lib/libshlist + LIB = libshlist/liblist.sh install: - @if ! [ -r "$(LIB)" ]; then \ +@@ -18,15 +17,12 @@ install: + exit 1; \ + fi + mkdir -p $(MANDIR) +- mkdir -p $(LICENSEDIR) + mkdir -p $(LIBDIR) + mkdir -p $(BINDIR) + chmod 644 $(PKGNAME).1.gz +- chmod 644 LICENSE + chmod 644 $(LIB) + chmod 755 mons + cp $(PKGNAME).1.gz $(MANDIR)/$(PKGNAME).1.gz +- cp LICENSE $(LICENSEDIR)/LICENSE + cp $(LIB) $(LIBDIR)/liblist.sh + cp mons $(BINDIR)/mons + |