1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/comms/congruity/files/patch-Makefile
Martin Wilke 02ae827302 congruity is a GUI application for programming Logitech(R) Harmony(TM)
remote controls. congruity builds upon the work of the concordance project,
which provides the underlying communication.

PR:		ports/190548
Submitted by:	Stephen Hurd <shurd@sasktel.net>
2014-06-03 08:20:06 +00:00

46 lines
2.2 KiB
Plaintext

--- Makefile.orig 2014-03-29 10:20:02.000000000 -0700
+++ Makefile 2014-05-31 01:38:42.000000000 -0700
@@ -17,27 +17,27 @@
@echo "Nothing to build, run 'make install' as root"
install:
- mkdir -p --mode=755 $(DESTDIR)$(BINDIR)
+ mkdir -p -m 755 $(DESTDIR)$(BINDIR)
sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < congruity > congruity.patched
- $(INSTALL) --mode=755 congruity.patched $(DESTDIR)$(BINDIR)/congruity
+ $(INSTALL) -m 755 congruity.patched $(DESTDIR)$(BINDIR)/congruity
rm -f congruity.patched
sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < mhgui > mhgui.patched
- $(INSTALL) --mode=755 mhgui.patched $(DESTDIR)$(BINDIR)/mhgui
+ $(INSTALL) -m 755 mhgui.patched $(DESTDIR)$(BINDIR)/mhgui
rm -f mhgui.patched
- mkdir -p --mode=755 $(DESTDIR)$(APPSHAREDIR)
- $(INSTALL) --mode=644 *.gif $(DESTDIR)$(APPSHAREDIR)
- $(INSTALL) --mode=644 *.png $(DESTDIR)$(APPSHAREDIR)
- $(INSTALL) --mode=644 harmony.wsdl $(DESTDIR)$(APPSHAREDIR)
- $(INSTALL) --mode=644 *.xsd $(DESTDIR)$(APPSHAREDIR)
+ mkdir -p -m 755 $(DESTDIR)$(APPSHAREDIR)
+ $(INSTALL) -m 644 *.gif $(DESTDIR)$(APPSHAREDIR)
+ $(INSTALL) -m 644 *.png $(DESTDIR)$(APPSHAREDIR)
+ $(INSTALL) -m 644 harmony.wsdl $(DESTDIR)$(APPSHAREDIR)
+ $(INSTALL) -m 644 *.xsd $(DESTDIR)$(APPSHAREDIR)
sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < mhmanager.py > mhmanager.py.patched
- $(INSTALL) --mode=644 mhmanager.py.patched $(DESTDIR)$(APPSHAREDIR)/mhmanager.py
+ $(INSTALL) -m 644 mhmanager.py.patched $(DESTDIR)$(APPSHAREDIR)/mhmanager.py
rm -f mhmanager.py.patched
- mkdir -p --mode=755 $(DESTDIR)$(MAN1DIR)
- $(INSTALL) --mode=644 congruity.1 $(DESTDIR)$(MAN1DIR)
- $(INSTALL) --mode=644 mhgui.1 $(DESTDIR)$(MAN1DIR)
- mkdir -p --mode=755 $(DESTDIR)$(DESKTOPDIR)
- $(INSTALL) --mode=644 congruity.desktop $(DESTDIR)$(DESKTOPDIR)
- $(INSTALL) --mode=644 mhgui.desktop $(DESTDIR)$(DESKTOPDIR)
+ mkdir -p -m 755 $(DESTDIR)$(MAN1DIR)
+ $(INSTALL) -m 644 congruity.1 $(DESTDIR)$(MAN1DIR)
+ $(INSTALL) -m 644 mhgui.1 $(DESTDIR)$(MAN1DIR)
+ mkdir -p -m 755 $(DESTDIR)$(DESKTOPDIR)
+ $(INSTALL) -m 644 congruity.desktop $(DESTDIR)$(DESKTOPDIR)
+ $(INSTALL) -m 644 mhgui.desktop $(DESTDIR)$(DESKTOPDIR)
ifeq ($(RUN_UPDATE_DESKTOP_DB),1)
$(UPDATE_DESKTOP_DB) > /dev/null 2>&1 || :
endif