mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
4d40dc828d
PR: 77882 Submitted by: maintainer
64 lines
2.6 KiB
Plaintext
64 lines
2.6 KiB
Plaintext
--- Makefile.orig Fri Nov 5 15:02:40 2004
|
|
+++ Makefile Mon Jan 10 21:53:25 2005
|
|
@@ -273,57 +273,10 @@
|
|
ifeq ($(VIDIX),yes)
|
|
$(DO_MAKE)
|
|
endif
|
|
- if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
|
|
- $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG)
|
|
-ifeq ($(GUI),yes)
|
|
- -ln -sf $(PRG) $(BINDIR)/gmplayer
|
|
-endif
|
|
- if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi
|
|
- for i in $(MAN_LANG); do \
|
|
- if test "$$i" = en ; then \
|
|
- $(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \
|
|
- else \
|
|
- mkdir -p $(MANDIR)/$$i/man1 ; \
|
|
- $(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \
|
|
- fi ; \
|
|
- done
|
|
+ @${BSD_INSTALL_PROGRAM} $(PRG) $(BINDIR)/$(PRG)
|
|
+ @${BSD_INSTALL_MAN} DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1
|
|
ifeq ($(MENCODER),yes)
|
|
- $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
|
|
- for i in $(MAN_LANG); do \
|
|
- if test "$$i" = en ; then \
|
|
- ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 ; \
|
|
- else \
|
|
- ln -sf mplayer.1 $(MANDIR)/$$i/man1/mencoder.1 ; \
|
|
- fi ; \
|
|
- done
|
|
-endif
|
|
- @if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi
|
|
- @if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi
|
|
- @if test ! -f $(DATADIR)/font/font.desc ; then \
|
|
- echo "*** Download font at http://www.mplayerhq.hu/homepage/dload.html" ; \
|
|
- echo "*** for OSD/Subtitles support and extract to $(DATADIR)/font/" ; \
|
|
- fi
|
|
-ifeq ($(GUI),yes)
|
|
- @if test ! -d $(DATADIR)/Skin ; then mkdir -p $(DATADIR)/Skin ; fi
|
|
- @echo "*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html"
|
|
- @echo "*** for GUI, and extract to $(DATADIR)/Skin/"
|
|
- @if test ! -d $(prefix)/share/pixmaps ; then mkdir -p $(prefix)/share/pixmaps ; fi
|
|
- $(INSTALL) -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm $(prefix)/share/pixmaps/mplayer-desktop.xpm
|
|
- @if test ! -d $(prefix)/share/applications ; then mkdir -p $(prefix)/share/applications ; fi
|
|
- $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop
|
|
-endif
|
|
- @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi
|
|
- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
|
|
-ifeq ($(DVDKIT_SHARED),yes)
|
|
-ifeq ($(DVDKIT2),yes)
|
|
- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
|
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
|
-else
|
|
-ifeq ($(DVDKIT),yes)
|
|
- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
|
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
|
-endif
|
|
-endif
|
|
+ @${BSD_INSTALL_PROGRAM} $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
|
|
endif
|
|
|
|
uninstall:
|