summaryrefslogtreecommitdiff
path: root/sysutils/jtop/files/patch-Makefile
blob: eeabc4b8112a868c528e5f92b1bb17d88800202a (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 04:54:58 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
 PKG=jtop
 
 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}