summaryrefslogtreecommitdiff
path: root/x11/xmenu/files/patch-Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-09-04 00:25:11 +0000
committerSteve Wills <swills@FreeBSD.org>2020-09-04 00:25:11 +0000
commit02e3d47b3ce25eedc5495d17dc0030ddeb753ab0 (patch)
tree46708c6906b55d14471b4357a945e0e39a4df097 /x11/xmenu/files/patch-Makefile
parentFix build under clang-11 (diff)
x11/xmenu: create port
XMenu is a menu utility for X. XMenu receives a menu specification in stdin, shows a menu for the user to select one of the options, and outputs the option selected to stdout. XMenu can be controlled both via mouse and via keyboard. WWW: https://github.com/phillbush/xmenu PR: 248279 Submitted by: Lewis Cook <vulcan@wired.sh>
Notes
Notes: svn path=/head/; revision=547491
Diffstat (limited to 'x11/xmenu/files/patch-Makefile')
-rw-r--r--x11/xmenu/files/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/xmenu/files/patch-Makefile b/x11/xmenu/files/patch-Makefile
new file mode 100644
index 000000000000..d6f55030d4b4
--- /dev/null
+++ b/x11/xmenu/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig 2020-07-23 20:39:33 UTC
++++ Makefile
+@@ -17,8 +17,10 @@ clean:
+ -rm ${OBJS} ${PROG}
+
+ install: all
+- install -D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
+- install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
++ mkdir -p ${DESTDIR}${MANPREFIX}/man1
++ mkdir -p ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_MAN} ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1
+
+ uninstall:
+ rm -f ${DESTDIR}${PREFIX}/bin/${PROG}