1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/deskutils/easystroke/files/patch-Makefile
William Grzybowski e100894348 - Update to 0.6.0 [1]
- Add LICENSE (ISCL)
- Unmute install commands

Changes: https://github.com/thjaeger/easystroke/blob/94a862e9/changelog

PR:		ports/178751 [1]
Submitted by:	Tobias Kortkamp <tobias.kortkamp@gmail.com> (maintainer)
Approved by:	culot (mentor)
2013-05-26 16:18:04 +00:00

15 lines
546 B
Plaintext

--- Makefile.orig 2013-05-18 19:53:39.780480687 +0200
+++ Makefile 2013-05-18 19:54:36.579483230 +0200
@@ -82,9 +82,9 @@
easystroke.desktop: easystroke.desktop.in $(MOFILES)
intltool-merge po/ -d -u $< $@
-desktop.c: easystroke.desktop
+desktop.c:
echo "const char *desktop_file = \"\\" > $@
- sed 's/Exec=easystroke/Exec=%1$$s/' $< | sed 's/"/\\"/g' | sed 's/.*/&\\n\\/' >> $@
+ sed 's/Exec=easystroke/Exec=%1$$s/' easystroke.desktop | sed 's/"/\\"/g' | sed 's/.*/&\\n\\/' >> $@
echo "\";" >> $@
po/POTFILES.in: $(CCFILES) $(HFILES)