1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11-wm/dwm/files/patch-Makefile
Dennis Herrmann bc913da4f6 - Bump PORTREVISION
- Add Xinerama support
- Add pkg-message

PR:		ports/155930
Submitted by:	Jeroen Schot <schot@A-Eskwadraat.nl> (maintainer)
2011-03-25 13:43:01 +00:00

25 lines
1.1 KiB
Plaintext

--- Makefile.orig 2011-03-25 12:53:10.000000000 +0100
+++ Makefile 2011-03-25 12:53:19.000000000 +0100
@@ -46,15 +46,15 @@
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f dwm ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
- @mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man/man1
+ @mkdir -p ${DESTDIR}${MANPREFIX}/man/man1
+ @sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man/man1/dwm.1
+ @chmod 644 ${DESTDIR}${MANPREFIX}/man/man1/dwm.1
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/dwm
- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
- @rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ @echo removing manual page from ${DESTDIR}${MANPREFIX}/man/man1
+ @rm -f ${DESTDIR}${MANPREFIX}/man/man1/dwm.1
.PHONY: all options clean dist install uninstall