opnsense-ports/sysutils/jkill/files/patch-Makefile
Franco Fichtner f403dd80c6 */*: sync with upstream
Taken from: FreeBSD
2024-03-22 08:28:46 +01:00

22 lines
516 B
Text

--- Makefile.orig 2004-03-24 03:20:43 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
PKG=jkill
MAN_SFX=1
-MAN_DIR=man/man1
+MAN_DIR=share/man/man1
TARGETS=${PKG} ${PKG}.${MAN_SFX}.gz
@@ -40,8 +40,8 @@ install: all
${RM} -rf ${TARGETS}
install: all
- ${INSTALL_BIN} ${PKG} ${PFX}/bin
- ${INSTALL_MAN} ${PKG}.${MAN_SFX}.gz ${PFX}/${MAN_DIR}
+ ${BSD_INSTALL_SCRIPT} ${PKG} $(DESTDIR)${PFX}/bin
+ ${BSD_INSTALL_MAN} ${PKG}.${MAN_SFX}.gz $(DESTDIR)${PFX}/${MAN_DIR}
deinstall:
${RM} -f ${PFX}/bin/${PKG}