ports/sysutils/tdir/files/patch-Makefile
Christian Weisgerber 78d0d94a0b sysutils/*: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-21 08:57:58 +00:00

14 lines
523 B
Plaintext

--- Makefile.orig 2018-05-11 21:42:28 UTC
+++ Makefile
@@ -3,8 +3,5 @@ install:
all: # Do nothing - this is a python script that needs no build
install:
- install -c -o root -g wheel -m 755 ./tdir ${PREFIX}/bin
- install -c -o root -g wheel -m 644 ./tdir.1.gz ${PREFIX}/man/man1
- mkdir ${PREFIX}/share/doc/tdir
- install -c -o root -g wheel -m 644 ./tdir-license.txt ${PREFIX}/share/doc/tdir
-
+ ${BSD_INSTALL_SCRIPT} ./tdir ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_MAN} ./tdir.1.gz ${DESTDIR}${PREFIX}/share/man/man1