svn commit: r482287 - head/x11-wm/skippy-xd/files

Alexey Dokuchaev danfe at FreeBSD.org
Wed Oct 17 09:17:59 UTC 2018


Author: danfe
Date: Wed Oct 17 09:17:58 2018
New Revision: 482287
URL: https://svnweb.freebsd.org/changeset/ports/482287

Log:
  Add the patch file forgotten in the earlier commit (r482283).

Added:
  head/x11-wm/skippy-xd/files/patch-Makefile   (contents, props changed)

Added: head/x11-wm/skippy-xd/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/skippy-xd/files/patch-Makefile	Wed Oct 17 09:17:58 2018	(r482287)
@@ -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?


More information about the svn-ports-head mailing list