aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jkill/files/patch-Makefile
blob: b28f10f88aa2de205b9f7e29e51a717fe9db3f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig   2014-06-27 11:30:05.064430590 +0800
+++ Makefile    2014-06-27 11:30:18.895417404 +0800
@@ -40,8 +40,8 @@ clean:
    ${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}