summaryrefslogtreecommitdiff
path: root/editors/manedit/files/patch-Makefile.install.UNIX
blob: 937d8c8a0c8e158a1f12511a8cd460f1d0da1126 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$FreeBSD$

--- Makefile.install.UNIX.orig	Wed Apr 30 08:51:49 2003
+++ Makefile.install.UNIX	Tue Aug 26 04:31:24 2003
@@ -27,11 +27,11 @@
 MKDIR      = mkdir
 MKDIRFLAGS = -p -m 0755
 
-MAN        = $(BIN).1.bz2
+MAN        = $(BIN).1
 ICON       = $(BIN).xpm
 
 BIN_DIR   = $(PREFIX)/bin
-ICONS_DIR = $(PREFIX)/share/icons
+ICONS_DIR = $(PREFIX)/share/$(BIN)/icons
 DATA_DIR  = $(PREFIX)/share/$(BIN)
 MAN_DIR   = $(PREFIX)/man/man1
 
@@ -42,28 +42,28 @@
 install_bin:
 	@echo "Installing $(BIN) -> $(BIN_DIR)"
 	@$(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
-	@$(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR)
+	@$(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR)
 	@echo "Installing manview -> $(BIN_DIR)"
-	@$(INSTALL) $(INSTSCRFLAGS) utils/manview.sh $(BIN_DIR)/manview
+	@$(BSD_INSTALL_SCRIPT) utils/manview.sh $(BIN_DIR)/manview
 	@echo "Installing manwrap -> $(BIN_DIR)"
-	@$(INSTALL) $(INSTSCRFLAGS) utils/manwrap.sh $(BIN_DIR)/manwrap
+	@$(BSD_INSTALL_SCRIPT) utils/manwrap.sh $(BIN_DIR)/manwrap
 
 install_data:
 	@echo "Installing $(MAN) -> $(MAN_DIR)"
 	@$(MKDIR) $(MKDIRFLAGS) $(MAN_DIR)
 	@-$(RM) $(RMFLAGS) $(MAN_DIR)/$(BIN).1
 	@-$(RM) $(RMFLAGS) $(MAN_DIR)/$(BIN).1.gz
-	@$(INSTALL) $(INSTMANFLAGS) $(MAN) $(MAN_DIR)
+	@$(BSD_INSTALL_MAN) $(MAN).out $(MAN_DIR)/$(MAN)
 	@echo "Installing $(ICON) -> $(ICONS_DIR)"
 	@$(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR)
-	@$(INSTALL) $(INSTDATFLAGS) $(ICON) $(ICONS_DIR)
+	@$(BSD_INSTALL_DATA) $(ICON) $(ICONS_DIR)
 	@echo "Installing help files to $(DATA_DIR)/help"
 	@$(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
 	@$(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/help
-	@$(COPY) $(COPYFLAGS) help/* $(DATA_DIR)/help
+	@$(BSD_INSTALL_DATA) help/* $(DATA_DIR)/help
 	@echo "Installing templates to $(DATA_DIR)/templates"
 	@$(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/templates
-	@$(COPY) $(COPYFLAGS) templates/* $(DATA_DIR)/templates
+	@$(BSD_INSTALL_DATA) templates/* $(DATA_DIR)/templates
 
 preinstall:
 	@echo "Installing \"$(BIN)\"..."