summaryrefslogtreecommitdiff
path: root/sysutils/jps/files/patch-Makefile
blob: 5866e483a76dbe37250f8b59cdd8305a9db5f324 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	2004-03-24 03:20:35 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
 PKG=jps
 
 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}