blob: 0a0a58e6d44e88702e1228aadd27a3f54de7ddf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-al,v 1.2 2005/12/06 18:50:36 rillig Exp $
--- sort/Makefile.orig 2005-11-14 10:22:40.000000000 +0000
+++ sort/Makefile
@@ -13,12 +13,10 @@ all: ${TARG}
@echo built ${TARG}
install: ${TARG}
- @mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/
- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG}
- @mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1
- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES}
+ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/
+ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1
+ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${TARG}
|