aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2018-10-17 17:17:58 +0800
committerdanfe <danfe@FreeBSD.org>2018-10-17 17:17:58 +0800
commitdffc41f98192ded86b4634c18d862542a0dd9a80 (patch)
tree29b9cf525dbbab13ecf281634a1a9ac95d595033 /x11-wm
parentb84f5712f2760c63b300183083e3e2567806f412 (diff)
downloadfreebsd-ports-gnome-dffc41f98192ded86b4634c18d862542a0dd9a80.tar.gz
freebsd-ports-gnome-dffc41f98192ded86b4634c18d862542a0dd9a80.tar.zst
freebsd-ports-gnome-dffc41f98192ded86b4634c18d862542a0dd9a80.zip
Add the patch file forgotten in the earlier commit (r482283).
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/skippy-xd/files/patch-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-wm/skippy-xd/files/patch-Makefile b/x11-wm/skippy-xd/files/patch-Makefile
new file mode 100644
index 000000000000..4b6388f5ed5a
--- /dev/null
+++ b/x11-wm/skippy-xd/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig 2015-02-24 13:35:00 UTC
++++ Makefile
+@@ -1,5 +1,6 @@
+ PREFIX ?= /usr
+ BINDIR ?= ${PREFIX}/bin
++XDGDIR ?= ${PREFIX}/etc/xdg
+
+ CC ?= gcc
+
+@@ -61,6 +62,8 @@ OBJS = $(foreach name,$(SRCS_RAW),$(name).o)
+ %.o: src/%.c ${HDRS}
+ ${CC} ${INCS} ${CFLAGS} ${CPPFLAGS} -c src/$*.c
+
++all: skippy-xd${EXESUFFIX}
++
+ skippy-xd${EXESUFFIX}: ${OBJS}
+ ${CC} ${LDFLAGS} -o skippy-xd${EXESUFFIX} ${OBJS} ${LIBS}
+
+@@ -68,9 +71,9 @@ clean:
+ rm -f ${BINS} ${OBJS} src/.clang_complete
+
+ install: ${BINS} skippy-xd.sample.rc
+- install -d "${DESTDIR}${BINDIR}/" "${DESTDIR}/etc/xdg/"
++ install -d "${DESTDIR}${BINDIR}/" "${DESTDIR}${XDGDIR}/"
+ install -m 755 ${BINS} "${DESTDIR}${BINDIR}/"
+- install -m 644 skippy-xd.sample.rc "${DESTDIR}/etc/xdg/skippy-xd.rc"
++ install -m 644 skippy-xd.sample.rc "${DESTDIR}${XDGDIR}/skippy-xd.rc.sample"
+
+ uninstall:
+ # Should configuration file be removed?