summaryrefslogtreecommitdiff
path: root/audio/qjackctl/patches/patch-aa
blob: 012d2444bd57b3a1d4f0996ab826ab4c600f2bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.1.1.1 2008/05/07 15:00:08 bjs Exp $

--- Makefile.in.orig	2007-07-08 12:29:08.000000000 -0400
+++ Makefile.in
@@ -62,12 +62,12 @@ $(name):	$(name).mak $(sources) $(header
 	@make -f $(name).mak
 
 install:	$(name) icons/$(name).png
-	@install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
-	@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
-	@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications
-	@install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)
-	@install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
-	@install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop
+	@$(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(prefix)/bin
+	@$(BSD_INSTALL_DATA_DIR) 0755 $(DESTDIR)$(prefix)/share/pixmaps
+	@$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/applications
+	@$(BSD_INSTALL_PROGRAM) $(name) $(DESTDIR)$(prefix)/bin/$(name)
+	@$(BSD_INSTALL_DATA) icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
+	@$(BSD_INSTALL_DATA) $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop
 
 uninstall:	$(DESTDIR)$(prefix)/bin/$(name)
 	@rm -vf $(DESTDIR)$(prefix)/bin/$(name)