summaryrefslogtreecommitdiff
path: root/sysutils/jps/files/patch-Makefile
blob: e2289345bf5b2ab733341e80aba73dce0ffd7df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig	2014-06-27 11:33:54.689401738 +0800
+++ Makefile	2014-06-27 11:34:10.118431813 +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}