summaryrefslogtreecommitdiff
path: root/net/dlint/patches/patch-aa
blob: b275b86b3b419e17b424709eb080e52372927e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.4 2009/05/19 07:00:50 abs Exp $

--- Makefile.orig	2000-11-19 10:07:40.000000000 -0500
+++ Makefile
@@ -5,7 +5,7 @@
 VERSION=1.4.0
 
 # Basic area to install things in:
-DEST=$(DESTROOT)/usr/local
+DEST=${PREFIX}
 
 BIN=$(DEST)/bin
 MANEXT=1
@@ -20,9 +20,9 @@ all:
 	@echo 'nothing to make; see INSTALL for instructions.'
 
 install:
-	$(INSTALL) -c -m 755 -o bin -g bin dlint $(BIN)
-	$(INSTALL) -c -m 755 -o bin -g bin digparse $(BIN)
-	$(INSTALL) -c -m 644 -o bin -g bin dlint.1 $(MAN)/dlint.$(MANEXT)
+	$(BSD_INSTALL_SCRIPT) dlint $(DESTDIR)$(BIN)
+	$(BSD_INSTALL_SCRIPT) digparse $(DESTDIR)$(BIN)
+	$(BSD_INSTALL_DATA) dlint.1 $(DESTDIR)$(MAN)/dlint.$(MANEXT)
 
 clean:
 	-rm -f *.shar core