summaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile102
-rw-r--r--multimedia/mplayer/distinfo1
-rw-r--r--multimedia/mplayer/files/install-user38
-rw-r--r--multimedia/mplayer/files/patch-ab13
-rw-r--r--multimedia/mplayer/files/patch-ac19
-rw-r--r--multimedia/mplayer/files/patch-ad104
-rw-r--r--multimedia/mplayer/files/patch-ae25
-rw-r--r--multimedia/mplayer/pkg-comment1
-rw-r--r--multimedia/mplayer/pkg-descr8
-rw-r--r--multimedia/mplayer/pkg-message11
-rw-r--r--multimedia/mplayer/pkg-plist12
11 files changed, 0 insertions, 334 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
deleted file mode 100644
index cecee71ffa8a..000000000000
--- a/multimedia/mplayer/Makefile
+++ /dev/null
@@ -1,102 +0,0 @@
-# New ports collection makefile for: mplayer
-# Date created: 10 August 2001
-# Whom: Thomas E. Zander
-# with lots of help from Vladimir Kushnir
-# $FreeBSD$
-#
-
-PORTNAME= mplayer
-PORTVERSION= 0.18
-CATEGORIES= graphics
-MASTER_SITES= http://MPlayerHQ.hu/MPlayer/releases/ \
- http://www.stud.uni-karlsruhe.de/~uedc/mplayer/
-DISTNAME= MPlayer-${PORTVERSION}pre
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= riggs@rrr.de
-
-ONLY_FOR_ARCHS= i386
-
-WRKSRC= ${WRKDIR}/MPlayer-${PORTVERSION}pre5
-CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
-
-MAN1= mplayer.1
-MANCOMPRESSED= no
-
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_XLIB= yes
-
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-RUN_DEPENDS= ${PREFIX}/share/mplayer/fonts:${PORTSDIR}/graphics/mplayer-fonts
-
-CONFIGURE_ARGS+=--disable-esd
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_SDL)
-LIB_DEPENDS+= SDL-1.1.3:${PORTSDIR}/devel/sdl12
-.else
-BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
-.endif
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
-CONFIGURE_ARGS+=--enable-3dnow
-.endif
-.if !defined(WITHOUT_3DNOWEX) && !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
-CONFIGURE_ARGS+=--enable-3dnowex
-.endif
-.if !defined(WITHOUT_MMX2)
-CONFIGURE_ARGS+=--enable-mmx2
-.endif
-.if defined(WITH_SSE)
-CONFIGURE_ARGS+=--enable-sse
-.endif
-.if defined(USE_AVIFILE_CODECS)
-BUILD_DEPENDS+= ${PREFIX}/lib/win32:${PORTSDIR}/graphics/win32-codecs
-.else
-BUILD_DEPENDS+= ${PREFIX}/lib/mplayer-codecs:${PORTSDIR}/graphics/mplayer-codecs
-CONFIGURE_ARGS+=--with-win32libdir=${LOCALBASE}/lib/mplayer-codecs
-.endif
-
-pre-extract:
-
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
- @${ECHO_MSG} "You can disable 3DNow! support by defining WITHOUT_3DNOW"
-.endif
-
-.if !defined(WITHOUT_3DNOWEX) && !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
- @${ECHO_MSG} "You can disable K7 3DNow! extension support by defining WITHOUT_3DNOWEX"
-.endif
-.if !defined(WITHOUT_MMX2)
- @${ECHO_MSG} "You can disable MMX2 support by defining WITHOUT_MMX2"
-.endif
-.if !defined(WITH_SSE)
- @${ECHO_MSG} "You can enable SSE optimized decoding by defining WITH_SSE"
- @${ECHO_MSG} "You have to enable \"options CPU_ENABLE_SSE\" in your kernel"
- @${ECHO_MSG} "config in order to enable kernel support for SSE."
-.endif
-
-post-install:
- @${MKDIR} ${PREFIX}/share/mplayer
- @${CHMOD} 755 ${PREFIX}/share/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/codecs.conf ${PREFIX}/share/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/example.conf ${PREFIX}/share/mplayer
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/mplayer
- @${CHMOD} 755 ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/DGA ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/FREEBSD ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/MPlayer-FAQ ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/OpenDivX ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/README ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/SDL ${PREFIX}/share/doc/mplayer
- @${INSTALL_DATA} ${WRKSRC}/DOCS/VIDEOCARDS ${PREFIX}/share/doc/mplayer
-.endif
- @${CAT} pkg-message
-
-install-user:
- @${PERL} ${FILESDIR}/install-user
-
-.include <bsd.port.post.mk>
diff --git a/multimedia/mplayer/distinfo b/multimedia/mplayer/distinfo
deleted file mode 100644
index 3c2abb092929..000000000000
--- a/multimedia/mplayer/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (MPlayer-0.18pre.tgz) = cc86cd8cdc61d6aea243c6e539b5df2e
diff --git a/multimedia/mplayer/files/install-user b/multimedia/mplayer/files/install-user
deleted file mode 100644
index 8f0dda4a6adf..000000000000
--- a/multimedia/mplayer/files/install-user
+++ /dev/null
@@ -1,38 +0,0 @@
-#This perl script links the codec config file
-#and the fonts dir to the user's home dir.
-
-if (-e "$ENV{HOME}/.mplayer/")
-{
- print "Sorry, you should execute this target without having a .mplayer directory in your homedir.\n";
- exit 1;
-}
-
-#Determining location of fonts:
-
-@pkg=`pkg_info -Lx mplayer-fonts`;
-print "$prefix[3]";
-$prefix=$pkg[3];
-$prefix=~ s/(.+mplayer).*/$1/;
-chop $prefix;
-
-print "You may choose any of the available language sets:\n\n";
-print "European fonts (e.g. dutch, french, german...) : e\n";
-print "Cyrillic fonts : c\n";
-print "Russian fonts: r\n";
-
-print "Your decision? ";
-chomp ($lang=<STDIN>);
-print "\n";
-
-system "mkdir $ENV{HOME}/.mplayer";
-if ($lang eq "c")
-{
- system "ln -s $prefix/fonts/cyrillic/ $ENV{HOME}/.mplayer/font";
-}
-elsif ($lang eq "r")
-{
- system "ln -s $prefix/fonts/koi8r/ $ENV{HOME}/.mplayer/font";
-}
-else {system "ln -s $prefix/fonts/iso/ $ENV{HOME}/.mplayer/font"};
-
-system "ln -s $prefix/codecs.conf $ENV{HOME}/.mplayer/codecs.conf";
diff --git a/multimedia/mplayer/files/patch-ab b/multimedia/mplayer/files/patch-ab
deleted file mode 100644
index dd5250a5197a..000000000000
--- a/multimedia/mplayer/files/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-*** /home/volodya/usr/ports/graphics/mplayer/work/MPlayer-0.18pre5/DOCS/FREEBSD Thu Jun 21 03:06:40 2001
---- DOCS/FREEBSD Thu Aug 16 03:54:08 2001
-***************
-*** 6,11 ****
---- 6,13 ----
-
- 2. To run mplayer you will need to re-compile the kernel with
- "options USER_LDT" (unless you are running -CURRENT, where this is default).
-+ If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it
-+ (FreeBSD-STABLE required, or use kernel patches).
-
- 3. If mplayer complains about "CD-ROM Device '/dev/cdrom' not found!" make a
- symbolic link : ln -s /dev/<your_cdrom_device> /dev/cdrom
diff --git a/multimedia/mplayer/files/patch-ac b/multimedia/mplayer/files/patch-ac
deleted file mode 100644
index 88ba8cb70b7e..000000000000
--- a/multimedia/mplayer/files/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-*** ../MPlayer-0.18pre5.old/loader/config.h Sat Feb 24 22:30:26 2001
---- loader/config.h Fri Aug 17 10:14:46 2001
-***************
-*** 56,62 ****
- #define HAVE_LIMITS_H 1
-
- /* Define if you have the <malloc.h> header file. */
-! #define HAVE_MALLOC_H 1
-
- /* Define if you have the <sys/ioctl.h> header file. */
- #define HAVE_SYS_IOCTL_H 1
---- 56,62 ----
- #define HAVE_LIMITS_H 1
-
- /* Define if you have the <malloc.h> header file. */
-! /* #undef HAVE_MALLOC_H */
-
- /* Define if you have the <sys/ioctl.h> header file. */
- #define HAVE_SYS_IOCTL_H 1
diff --git a/multimedia/mplayer/files/patch-ad b/multimedia/mplayer/files/patch-ad
deleted file mode 100644
index 941cb9a01492..000000000000
--- a/multimedia/mplayer/files/patch-ad
+++ /dev/null
@@ -1,104 +0,0 @@
-*** configure.orig Fri Jul 6 23:00:22 2001
---- configure Sat Aug 18 22:25:58 2001
-***************
-*** 181,187 ****
-
- system_name=`uname -s 2>&1`
- if [ "$system_name" = "FreeBSD" ]; then
-! _archlibs="-rdynamic -pthread"
- else
- _archlibs="-ldl -lpthread"
- fi
---- 181,187 ----
-
- system_name=`uname -s 2>&1`
- if [ "$system_name" = "FreeBSD" ]; then
-! _archlibs="-rdynamic ${PTHREAD_LIBS}"
- else
- _archlibs="-ldl -lpthread"
- fi
-***************
-*** 587,593 ****
- $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lvgagl -lvga > /dev/null 2>&1 && _svga=yes
-
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $TMPC -o $TMPO -pthread > /dev/null 2>&1 || \
- { echo "Lib pthread not found."; rm -f $TMPC $TMPO $TMPS ; exit 1; }
- else
- $_cc $TMPC -o $TMPO -lpthread > /dev/null 2>&1 || \
---- 587,593 ----
- $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lvgagl -lvga > /dev/null 2>&1 && _svga=yes
-
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $TMPC -o $TMPO ${PTHREAD_LIBS} > /dev/null 2>&1 || \
- { echo "Lib pthread not found."; rm -f $TMPC $TMPO $TMPS ; exit 1; }
- else
- $_cc $TMPC -o $TMPO -lpthread > /dev/null 2>&1 || \
-***************
-*** 669,675 ****
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes
-
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL -pthread $_socklib > /dev/null 2>&1 && _gl=yes
- else
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL $_socklib > /dev/null 2>&1 && _gl=yes
- fi
---- 669,675 ----
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes
-
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL ${PTHREAD_LIBS} $_socklib > /dev/null 2>&1 && _gl=yes
- else
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL $_socklib > /dev/null 2>&1 && _gl=yes
- fi
-***************
-*** 679,685 ****
- int main( void ) { return 0; }
- EOF
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $_x11incdir $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL -pthread $_socklib > /dev/null 2>&1 || \
- { _gl=no; echo "GL includes not found!";}
- else
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL $_socklib > /dev/null 2>&1 || \
---- 679,685 ----
- int main( void ) { return 0; }
- EOF
- if [ "$system_name" = "FreeBSD" ]; then
-! $_cc $_x11incdir $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL ${PTHREAD_LIBS} $_socklib > /dev/null 2>&1 || \
- { _gl=no; echo "GL includes not found!";}
- else
- $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL $_socklib > /dev/null 2>&1 || \
-***************
-*** 1162,1168 ****
- if [ "$system_name" = "FreeBSD" ]; then
- # Under XFree86 4.x GL port is poorly designed
- if [ -r /usr/X11R6/bin/XFree86 ]; then
-! _gllib='-lGL -pthread'
- else
- _gllib='-lGL'
- fi
---- 1162,1168 ----
- if [ "$system_name" = "FreeBSD" ]; then
- # Under XFree86 4.x GL port is poorly designed
- if [ -r /usr/X11R6/bin/XFree86 ]; then
-! _gllib="-lGL ${PTHREAD_LIBS}"
- else
- _gllib='-lGL'
- fi
-***************
-*** 1329,1335 ****
- # Under FreeBSD (maybe other systems as well?) we have to add to CFLAGS
- # for MT applications:
- if [ "$system_name" = "FreeBSD" ]; then
-! CFLAGS="$CFLAGS -D_THREAD_SAFE"
- fi
-
- # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak
---- 1329,1335 ----
- # Under FreeBSD (maybe other systems as well?) we have to add to CFLAGS
- # for MT applications:
- if [ "$system_name" = "FreeBSD" ]; then
-! CFLAGS="$CFLAGS ${PTHREAD_CFLAGS}"
- fi
-
- # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak
diff --git a/multimedia/mplayer/files/patch-ae b/multimedia/mplayer/files/patch-ae
deleted file mode 100644
index 38fcf5b69e44..000000000000
--- a/multimedia/mplayer/files/patch-ae
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile Sun Jul 8 02:21:20 2001
-+++ Makefile.freebsd Wed Aug 15 19:23:54 2001
-@@ -85,14 +85,14 @@
- $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
- $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
-
--install: $(PRG) $(PRG_FIBMAP)
-- install -D -m 755 -s $(PRG) $(BINDIR)/$(PRG)
-- install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
-- @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 DVDs."
-- install -D -o root -g root -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
-+install: $(PRG)
-+ install -C -m 755 -s $(PRG) $(BINDIR)/$(PRG)
-+ install -C -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
-+# @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 DVDs."
-+# install -D -o root -g root -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
-
- clean:
- rm -f *.o *~ $(OBJS)
diff --git a/multimedia/mplayer/pkg-comment b/multimedia/mplayer/pkg-comment
deleted file mode 100644
index 5624b3afc8a0..000000000000
--- a/multimedia/mplayer/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-High performance media player using win32 codecs
diff --git a/multimedia/mplayer/pkg-descr b/multimedia/mplayer/pkg-descr
deleted file mode 100644
index bc017a356b04..000000000000
--- a/multimedia/mplayer/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-This is the port of mplayer, a project which has the effort
-to become a very stable and useful movie player.
-
-It is based on the windows codec compilation and
-provides the ability to play many formats
-in a very good quality without much CPU comsumption.
-
-WWW: http://mplayer.sourceforge.net
diff --git a/multimedia/mplayer/pkg-message b/multimedia/mplayer/pkg-message
deleted file mode 100644
index d47025ad2c16..000000000000
--- a/multimedia/mplayer/pkg-message
+++ /dev/null
@@ -1,11 +0,0 @@
-This port provides a simple and easy to use
-possibility for any user to make mplayer ready
-to run with a working codecs.conf and the
-right font by logging in with the username,
-then cd to the mplayer port directory and
-enter:
-
-make install-user
-
-Please take a look at docs in
-/usr/local/share/doc/mplayer
diff --git a/multimedia/mplayer/pkg-plist b/multimedia/mplayer/pkg-plist
deleted file mode 100644
index a76f0124d73c..000000000000
--- a/multimedia/mplayer/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-bin/mplayer
-share/doc/mplayer/DGA
-share/doc/mplayer/FREEBSD
-share/doc/mplayer/MPlayer-FAQ
-share/doc/mplayer/OpenDivX
-share/doc/mplayer/README
-share/doc/mplayer/SDL
-share/doc/mplayer/VIDEOCARDS
-share/mplayer/codecs.conf
-share/mplayer/example.conf
-@dirrm share/doc/mplayer
-@dirrm share/mplayer