mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
- Supersedes ports/164943 PR: ports/166946 Submitted by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
--- Makefile.orig 2012-03-03 17:45:15.000000000 +0100
|
|
+++ Makefile 2012-03-22 15:26:08.719328325 +0100
|
|
@@ -904,20 +904,17 @@
|
|
install: $(INSTALL_TARGETS-yes)
|
|
|
|
install-dirs:
|
|
- $(INSTALL) -d $(BINDIR) $(CONFDIR) $(LIBDIR)
|
|
|
|
-install-%: %$(EXESUF) install-dirs
|
|
- $(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
|
|
+install-mplayer: mplayer$(EXESUF) install-dirs
|
|
+ @${BSD_INSTALL_PROGRAM} mplayer$(EXESUF) $(BINDIR)
|
|
|
|
-install-gui: install-mplayer install-gui-icons
|
|
- -ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
|
|
- $(INSTALL) -d $(DATADIR)/skins $(prefix)/share/applications
|
|
- $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/
|
|
+install-gui: install-mplayer
|
|
|
|
install-gui-icons: $(foreach size,$(GUI_ICONSIZES),install-gui-icon-$(size))
|
|
install-gui-man: $(foreach lang,$(MAN_LANGS),install-gui-man-$(lang))
|
|
install-mencoder-man: $(foreach lang,$(MAN_LANGS),install-mencoder-man-$(lang))
|
|
-install-mplayer-man: $(foreach lang,$(MAN_LANGS),install-mplayer-man-$(lang))
|
|
+install-mplayer-man:
|
|
+ @${BSD_INSTALL_MAN} DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1
|
|
|
|
install-gui-man-en: install-mplayer-man-en
|
|
cd $(MANDIR)/man1/ && ln -sf mplayer.1 gmplayer.1
|