aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayerxp/files/patch-ae
blob: 11a873330955faede057bd78aad48afcb7c294b4 (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
--- Makefile.orig	Fri Oct  5 10:39:21 2001
+++ Makefile	Mon Oct 15 21:51:01 2001
@@ -118,24 +118,8 @@
 	$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
 
 install: $(ALL_PRG)
-	if [ ! -e $(BINDIR) ]; then \
-		mkdir -p $(BINDIR); \
-	fi
-	install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
-ifeq ($(GUI),yes)
-	-ln -s $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
-endif
-	if [ ! -e $(prefix)/man/man1 ]; then \
-		mkdir -p $(prefix)/man/man1; \
-	fi
-	install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
-ifeq ($(CSS_USE),yes)
-	@echo "Following task requires root privs. If it fails don't panic"
-	@echo "however it means you can't use fibmap_mplayer."
-	@echo "Without this (or without running mplayer as root) you won't be"
-	@echo "able to play encrypted DVDs."
-	-install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
-endif
+	@${BSD_INSTALL_PROGRAM} $(PRG) $(BINDIR)/$(PRG)
+	@${BSD_INSTALL_MAN} DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
 
 clean:
 	rm -f *.o *~ $(OBJS)