summaryrefslogtreecommitdiff
path: root/net/gopher/patches/patch-ad
blob: 5059fd923166deb66e568f607604e1893b1bb9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ad,v 1.2 2008/06/20 01:09:31 joerg Exp $

--- doc/Makefile.in.orig	2005-07-20 17:28:53.000000000 +0200
+++ doc/Makefile.in	2005-08-05 14:04:11.000000000 +0200
@@ -4,11 +4,11 @@
 	 gophfilt.1 gopherrc.5
 
 install: $(TARGET)
-	@INSTALL@ -d -m 0755 $(MAN1DIR)
-	@INSTALL@ -d -m 0755 $(MAN5DIR)
-	@INSTALL@ -m 0644 gopher.1 $(MAN1DIR)
-	@INSTALL@ -m 0644 gophfilt.1 $(MAN1DIR)
-	@INSTALL@ -m 0644 gopherrc.5 $(MAN5DIR)
+	$(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(MAN1DIR)
+	$(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(MAN5DIR)
+	$(BSD_INSTALL_MAN) gopher.1 ${DESTDIR}$(MAN1DIR)/
+	$(BSD_INSTALL_MAN) gophfilt.1 ${DESTDIR}$(MAN1DIR)/
+	$(BSD_INSTALL_MAN) gopherrc.5 ${DESTDIR}$(MAN5DIR)/
 
 all:
 	$(NROFF)    gopher.1       >gopher.cat