opnsense-ports/deskutils/easystroke/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
546 B
Text

--- 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)