diff options
Diffstat (limited to 'multimedia/mplayer/files/patch-ae')
-rw-r--r-- | multimedia/mplayer/files/patch-ae | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/multimedia/mplayer/files/patch-ae b/multimedia/mplayer/files/patch-ae index 9105985280bf..6cf53e676b0d 100644 --- a/multimedia/mplayer/files/patch-ae +++ b/multimedia/mplayer/files/patch-ae @@ -1,20 +1,20 @@ ---- 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) +--- Makefile.orig Thu Jun 15 10:20:29 2006 ++++ Makefile Thu Jun 15 10:27:06 2006 +@@ -446,47 +446,11 @@ + $(MAKE) -C libdha install + $(MAKE) -C vidix install endif -- if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi +- $(INSTALL) -d $(BINDIR) - $(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 +- $(INSTALL) -d $(MANDIR)/man1 - 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) -d $(MANDIR)/$$i/man1 ; \ - $(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \ - fi ; \ - done @@ -30,34 +30,24 @@ - fi ; \ - done -endif -- @if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi -- @if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi +- @$(INSTALL) -d $(DATADIR) +- @$(INSTALL) -d $(DATADIR)/font - @if test ! -f $(DATADIR)/font/font.desc ; then \ -- echo "*** Download font at http://www.mplayerhq.hu/homepage/dload.html" ; \ +- echo "*** Download font at http://www.mplayerhq.hu/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) -d $(DATADIR)/skins +- @echo "*** Download skin(s) at http://www.mplayerhq.hu/dload.html" +- @echo "*** for GUI, and extract to $(DATADIR)/skins/" +- @$(INSTALL) -d $(prefix)/share/pixmaps +- $(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/mplayer.xpm +- @$(INSTALL) -d $(prefix)/share/applications - $(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 +- @$(INSTALL) -d $(CONFDIR) +- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi uninstall: + -rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1 |