Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2018 09:17:58 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482287 - head/x11-wm/skippy-xd/files
Message-ID:  <201810170917.w9H9Hwr3018176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810170917.w9H9Hwr3018176>