From owner-freebsd-ports Sun Jul 21 14:50:35 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 573BA37B401 for ; Sun, 21 Jul 2002 14:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D67443E5E for ; Sun, 21 Jul 2002 14:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LLo2JU048692 for ; Sun, 21 Jul 2002 14:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6LLo2HK048691; Sun, 21 Jul 2002 14:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D0037B400 for ; Sun, 21 Jul 2002 14:42:53 -0700 (PDT) Received: from jolly.drunkmonk.net (jolly.drunkmonk.net [66.37.140.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 846A743E3B for ; Sun, 21 Jul 2002 14:42:52 -0700 (PDT) (envelope-from verm@jolly.drunkmonk.net) Received: from jolly.drunkmonk.net (verm@localhost [127.0.0.1]) by jolly.drunkmonk.net (8.12.3/8.12.3) with ESMTP id g6LLgf9H087910 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 21 Jul 2002 15:42:42 -0600 (MDT) (envelope-from verm@jolly.drunkmonk.net) Received: (from verm@localhost) by jolly.drunkmonk.net (8.12.3/8.12.1/Submit) id g6LLgf3K087909; Sun, 21 Jul 2002 15:42:41 -0600 (MDT) Message-Id: <200207212142.g6LLgf3K087909@jolly.drunkmonk.net> Date: Sun, 21 Jul 2002 15:42:41 -0600 (MDT) From: Amar Takhar Reply-To: Amar Takhar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40860: new port: graphics/mplayer-devel Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40860 >Category: ports >Synopsis: new port: graphics/mplayer-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 21 14:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Amar Takhar >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: >Description: This is a port for the CVS version of mplayer, those crazy developers add features/fixes constantly i figured i'd add this port (since i track mplayer cvs myself). There are too many changes to mention, but the biggest i'd say is the support for XviD playback. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mplayer-devel/Makefile # mplayer-devel/distinfo # mplayer-devel/files # mplayer-devel/pkg-comment # mplayer-devel/pkg-descr # mplayer-devel/pkg-message # mplayer-devel/pkg-plist # mplayer-devel/files/install-user # mplayer-devel/files/patch-mplayer:Makefile # mplayer-devel/files/patch-mplayer:subreader.c # echo x - mplayer-devel/Makefile sed 's/^X//' >mplayer-devel/Makefile << 'END-of-mplayer-devel/Makefile' X# New ports collection makefile for: mplayercvs X# Date created: 21 July 2002 X# Whom: verm@drunkmonk.net X# Most of this port is derived from graphics/mplayer, thanks! X# X# $FreeBSD$ X# X XPORTNAME= mplayer-devel XPORTVERSION= 20020720 XCATEGORIES= graphics XMASTER_SITES= http://ftp.lug.udel.edu/MPlayer/cvs/ \ X http://ftp.mplayerhq.hu/MPlayer/cvs/ \ X http://www.mplayerhq.hu/MPlayer/cvs/ \ X http://www2.mplayerhq.hu/MPlayer/cvs/ \ X ftp://ftp.mplayerhq.hu/MPlayer/cvs/ \ X ftp://ftp2.mplayerhq.hu/MPlayer/cvs/ \ X ftp://ftp.lug.udel.edu/MPlayer/cvs/ \ X http://www.rrr.de/~riggs/mplayer/cvs/ XDISTNAME= MPlayer-${PORTVERSION} X XMAINTAINER= verm@drunkmonk.net X XRUN_DEPENDS= ${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/graphics/mplayer-fonts XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ X iconv.3:${PORTSDIR}/converters/libiconv \ X mp3lame.0:${PORTSDIR}/audio/lame X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_XLIB= yes XGNU_CONFIGURE= yes X#CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ X# PTHREAD_LIBS=${PTHREAD_LIBS} X#CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ X# --with-extraincdir=${LOCALBASE}/include X XWANT_GTK= yes XMAN1= mplayer.1 XMLINKS= mplayer.1 mencoder.1 X XCONFFILES= codecs.conf example.conf input.conf XDOCFILES= bugreports.html cd-dvd.html codecs-in.html codecs.html \ X default.css documentation.html encoding.html faq.html \ X formats.html skin-en.html sound.html video.html \ X users_against_developers.html tech/porting-status.txt \ X tech/codecs.conf.txt tech/formats.txt tech/tech-eng.txt X X.include X X.if exists(${LOCALBASE}/lib/libdvdcss.so.2) XWITH_DVD= yes X.endif X X.if exists(${LOCALBASE}/lib/libvga.so.1) XWITH_SVGALIB= yes X.endif X X.if exists(${LOCALBASE}/lib/libSDL-1.1.so.4) XWITH_SDL= yes X.endif X X.if exists(${LOCALBASE}/lib/libjpeg.so.9) XLIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg X.endif X X.if exists(${X11BASE}/bin/xanim) XWITH_XANIM= yes X.endif X X.if exists(${LOCALBASE}/lib/libxvidcore.so.0) XWITH_XVID= yes X.endif X X.if defined(WITH_OPTIMIZED_CFLAGS) XCFLAGS+= -O3 -ffast-math -fomit-frame-pointer X.endif X X.if defined(HAVE_GTK) XWITH_GUI= yes X.endif X X.if defined(WITH_GUI) XUSE_GTK= yes XCONFIGURE_ARGS+= --enable-gui X.endif X X.if defined(WITH_DVD) X.if !defined(WITH_LIBDVDREAD) XLIB_DEPENDS+= dvdcss.2:${PORTSDIR}/graphics/libdvdcss X.else XLIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread X.endif X.endif X X.if defined(WITH_SVGALIB) XLIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib X.endif X X.if defined(WITH_SDL) XLIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12 X.endif X X.if defined(WITH_VORBIS) XLIB_DEPENDS+= vorbis.1:${PORTSDIR}/audio/libvorbis X.endif X X.if defined(WITH_XANIM) XBUILD_DEPENDS+= xanim:${PORTSDIR}/graphics/xanim XCONFIGURE_ARGS+=--enable-xanim --with-xanimlibdir=${X11BASE}/lib/X11/xanim X.else XCONFIGURE_ARGS+=--disable-xanim X.endif X X.if defined(WITH_XVID) XLIB_DEPENDS+= xvidcore.0:${PORTSDIR}/graphics/xvid X.endif X X# "enable" build for other archs X.if ${ARCH} == "i386" X.if !defined(WITHOUT_RUNTIME_CPUDETECTION) XCONFIGURE_ARGS+=--enable-runtime-cpudetection X.else #WITHOUT_RUNTIME_CPUDETECTION X.if defined(WITHOUT_MMX) XCONFIGURE_ARGS+=--disable-mmx X.endif X.if defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021 XCONFIGURE_ARGS+=--disable-3dnow X.endif X.if defined(WITHOUT_DSP) || defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021 XCONFIGURE_ARGS+=--disable-3dnowex X.endif X.if defined(WITHOUT_SSE) XCONFIGURE_ARGS+=--disable-mmx2 --disable-sse X.endif X.endif #WITHOUT_RUNTIME_CPUDETECTION X.if !defined(WITH_SVGALIB) XCONFIGURE_ARGS+=--disable-svga X.endif X.if !defined(WITH_SDL) XCONFIGURE_ARGS+=--disable-sdl X.endif X.if !defined(WITH_VORBIS) XCONFIGURE_ARGS+=--disable-vorbis X.endif X.if !defined(WITHOUT_WIN32_CODECS) XRUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT} X XCONFIGURE_ARGS+= --with-win32libdir=${LOCALBASE}/lib/win32 X XCODEC_PORT= ${PORTSDIR}/graphics/win32-codecs X#CODEC_PORT= ${.CURDIR}/../win32-codecs XCODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE X.endif X.endif # ARCH == i386 X Xpre-everything:: X @${ECHO_MSG} "" X @${ECHO_MSG} "Make sure you *deinstall* the non-cvs version of mplayer" X @${ECHO_MSG} "before you build this port! (graphics/mplayer)" X @${ECHO_MSG} "" X.if defined(WITH_GUI) X @${ECHO_MSG} "You can download official skin collections from" X @${ECHO_MSG} "http://www.mplayerhq.hu/homepage/dload.html" X.endif X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${ECHO_MSG} "You can enable additional compilation optimizations" X @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS" X.endif X.if !defined(WITH_GUI) && !defined(HAVE_GTK) X @${ECHO_MSG} "You can enable GTK GUI by defining WITH_GUI." X.endif X.if !defined(WITH_DVD) X @${ECHO_MSG} "You can enable DVD support by defining WITH_DVD." X.endif X.if defined(WITH_DVD) && !defined(WITH_LIBDVDREAD) X @${ECHO_MSG} "You can replace mplayer internal DVD routines with libdvdread" X @${ECHO_MSG} "support by defining WITH_LIBDVDREAD." X.endif X.if !defined(WITH_SVGALIB) X @${ECHO_MSG} "You can enable SVGALIB support by defining WITH_SVGALIB." X.endif X.if !defined(WITH_SDL) X @${ECHO_MSG} "You can enable SDL support by defining WITH_SDL." X.endif X.if !defined(WITH_VORBIS) X @${ECHO_MSG} "You can enable VORBIS sound support by defining WITH_VORBIS." X.endif X.if !defined(WITH_XANIM) X @${ECHO_MSG} "You can enable XAnim DLL support by defining WITH_XANIM." X.endif X.if ${ARCH} == "i386" X.if !defined(WITHOUT_WIN32_CODECS) X @${ECHO_MSG} "You can disable support (this turns this into a X86 only port)" X @${ECHO_MSG} "for Win32 codecs by defining WITHOUT_WIN32_CODECS" X.endif X.if defined(WITHOUT_RUNTIME_CPUDETECTION) X.if !defined(WITHOUT_SSE) X @${ECHO_MSG} "You have to enable \"options CPU_ENABLE_SSE\" in your kernel" X @${ECHO_MSG} "config in order to enable kernel support for SSE/MMX2." X.endif X.if !defined(WITHOUT_MMX) X @${ECHO_MSG} "You can disable use of MMX routines by defining WITHOUT_MMX." X.endif X.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021 X @${ECHO_MSG} "You can disable use of 3DNow! optimized routines by defining WITHOUT_3DNOW." X.endif X.if !defined(WITHOUT_3DNOW) && !defined(WITHOUT_DSP) && ${OSVERSION} >= 400021 X @${ECHO_MSG} "You can disable support for Athlon DSP extensions by defining WITHOUT_DSP." X.endif X @${ECHO_MSG} "Note: The cpu features are autodetected, so there is probably no need" X @${ECHO_MSG} "to manually disable them." X.else X @${ECHO_MSG} "You can disable runtime cpu detection features by defining WITHOUT_RUNTIME_CPUDETECTION" X.endif X.if !defined(WITH_XVID) X @${ECHO_MSG} "You can enable XviD support by defining WITH_XVID."" X.endif X @${ECHO_MSG} "" X.endif # ARCH == i386 X Xpre-configure: X.if defined(WITH_LIBDVDREAD) X @${RM} -Rf ${WRKSRC}/libmpdvdkit/ X.endif X Xpost-install: X @${MKDIR} ${DATADIR} X @${CHMOD} 755 ${DATADIR} X.for conf in ${CONFFILES} X ${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${DATADIR} X.endfor X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${CHMOD} 755 ${DOCSDIR} X.for doc in ${DOCFILES} X @${INSTALL_DATA} ${WRKSRC}/DOCS/${doc} ${DOCSDIR} X.endfor X.endif X @${CAT} pkg-message X Xinstall-user: X @${PERL} ${FILESDIR}/install-user X X.include END-of-mplayer-devel/Makefile echo x - mplayer-devel/distinfo sed 's/^X//' >mplayer-devel/distinfo << 'END-of-mplayer-devel/distinfo' XMD5 (MPlayer-20020720.tar.bz2) = 0c54abe84dd8b0bb5083f5d4b8099191 END-of-mplayer-devel/distinfo echo c - mplayer-devel/files mkdir -p mplayer-devel/files > /dev/null 2>&1 echo x - mplayer-devel/pkg-comment sed 's/^X//' >mplayer-devel/pkg-comment << 'END-of-mplayer-devel/pkg-comment' XMPlayer CVS version, a high performance media player END-of-mplayer-devel/pkg-comment echo x - mplayer-devel/pkg-descr sed 's/^X//' >mplayer-devel/pkg-descr << 'END-of-mplayer-devel/pkg-descr' XThis is the CVS version of mplayer, a project which has the effort to become the Xa very stable/robust movie player. X XIt is based on the windows codec compilation and provides the ability to play Xmany formats in a very good quality without much CPU comsumption. X XMany, *many* codecs are supported, you can take a quick gander at: Xhttp://www.MPlayerHQ.hu/homepage/info.html for information on what codecs it Xsupports, and what input formats. X XWWW: http://www.mplayerhq.hu/ END-of-mplayer-devel/pkg-descr echo x - mplayer-devel/pkg-message sed 's/^X//' >mplayer-devel/pkg-message << 'END-of-mplayer-devel/pkg-message' X XThis port provides a simple and easy to use Xpossibility for any user to make mplayer ready Xto run with a working codecs.conf and the Xright font by logging in with the username, Xthen cd to the mplayer port directory and Xenter: X Xmake install-user X XPlease take a look at docs in X/usr/local/share/doc/mplayer X XYou can download skins from the mplayer homepage: Xhttp://www.mplayerhq.hu/ X XIn order to use DVD please make sure that your Xkernel and base system is newer than 2001-09-25, Xotherwise DVD play will not work! X END-of-mplayer-devel/pkg-message echo x - mplayer-devel/pkg-plist sed 's/^X//' >mplayer-devel/pkg-plist << 'END-of-mplayer-devel/pkg-plist' Xbin/mplayer Xbin/mencoder Xlib/libdha-0.1.so Xlib/libdha.so Xlib/mplayer/vidix/mach64_vid.so Xlib/mplayer/vidix/mga_crtc2_vid.so Xlib/mplayer/vidix/mga_vid.so Xlib/mplayer/vidix/pm3_vid.so Xlib/mplayer/vidix/radeon_vid.so Xlib/mplayer/vidix/rage128_vid.so X%%PORTDOCS%%share/doc/mplayer-devel/bugreports.html X%%PORTDOCS%%share/doc/mplayer-devel/cd-dvd.html X%%PORTDOCS%%share/doc/mplayer-devel/codecs-in.html X%%PORTDOCS%%share/doc/mplayer-devel/codecs.html X%%PORTDOCS%%share/doc/mplayer-devel/default.css X%%PORTDOCS%%share/doc/mplayer-devel/documentation.html X%%PORTDOCS%%share/doc/mplayer-devel/encoding.html X%%PORTDOCS%%share/doc/mplayer-devel/faq.html X%%PORTDOCS%%share/doc/mplayer-devel/formats.html X%%PORTDOCS%%share/doc/mplayer-devel/skin-en.html X%%PORTDOCS%%share/doc/mplayer-devel/sound.html X%%PORTDOCS%%share/doc/mplayer-devel/video.html X%%PORTDOCS%%share/doc/mplayer-devel/users_against_developers.html X%%PORTDOCS%%share/doc/mplayer-devel/porting-status.txt X%%PORTDOCS%%share/doc/mplayer-devel/codecs.conf.txt X%%PORTDOCS%%share/doc/mplayer-devel/formats.txt X%%PORTDOCS%%share/doc/mplayer-devel/tech-eng.txt Xshare/mplayer-devel/codecs.conf Xshare/mplayer-devel/example.conf Xshare/mplayer-devel/input.conf X%%PORTDOCS%%@dirrm share/doc/mplayer-devel X@dirrm lib/mplayer/vidix X@dirrm lib/mplayer END-of-mplayer-devel/pkg-plist echo x - mplayer-devel/files/install-user sed 's/^X//' >mplayer-devel/files/install-user << 'END-of-mplayer-devel/files/install-user' X#!/bin/sh X# X#This sh script replaces the perl script used in graphics/mplayer, since X#-current dosn't have perl installed in the base, i figured this would be X#better. X# X#Any problems / omissions please email verm@drunkmonk.net X Xif [ ! -d /var/db/pkg/mplayer-fonts* ]; then X echo "please make sure you have graphics/mplayer-fonts installed before you run this" X exit Xfi X Xif [ -d "$HOME/.mplayer" ]; then X echo "sorry, you should execute this without having a .mplayer in your home directory (don't want to clobber any options)" X exit Xfi X XPKG_PREFIX=`pkg_info -px mplayer-fonts|grep CWD|awk '{print $3}'` XPREFIX="$PKG_PREFIX/share/mplayer" X Xecho "You may choose any of the available language sets:" Xecho "1 - ISO-8859-1 Font" Xecho "2 - ISO-8859-2 Font" Xecho "c - Cyrillic Font (old)" Xecho "r - Russian Font" X Xuntil [ `echo $WHICH| egrep "1|2|c|r"` ]; do X read -p "which: " WHICH Xdone X Xif [ "$WHICH" = "1" -o "$WHICH" = "2" ]; then X until [ `echo $SIZE| egrep "14|18|24|28"` ]; do X echo "The available sizes for this font are 14,18,24,28." X read -p "Please enter your choice: " SIZE X done Xfi X Xmkdir -pv $HOME/.mplayer X Xcase "$WHICH" in X 1) X ln -sv $PREFIX/fonts/iso-8859-1/arial-$SIZE/ $HOME/.mplayer/font X ;; X 2) X ln -sv $PREFIX/fonts/iso-8859-2/arial-$SIZE/ $HOME/.mplayer/font X ;; X c) X ln -sv $PREFIX/fonts/cyrillic/ $HOME/.mplayer/font X ;; X r) X ln -sv $PREFIX/fonts/koi8r-font/ $HOME/.mplayer/font X ;; X *) X echo "invalid selection" X exit X ;; Xesac X Xln -sv $PREFIX-devel/codecs.conf $HOME/.mplayer/codecs.conf Xcp -pv $PREFIX-devel/example.conf $HOME/.mplayer/example.conf Xcp -pv $PREFIX-devel/input.conf $HOME/.mplayer/input.conf END-of-mplayer-devel/files/install-user echo x - mplayer-devel/files/patch-mplayer:Makefile sed 's/^X//' >mplayer-devel/files/patch-mplayer:Makefile << 'END-of-mplayer-devel/files/patch-mplayer:Makefile' X--- Makefile.orig Wed Jul 10 16:56:50 2002 X+++ Makefile Sun Jul 21 12:01:46 2002 X@@ -24,12 +24,12 @@ X endif X X #prefix = /usr/local X-BINDIR = ${prefix}/bin X+BINDIR = ${PREFIX}/bin X # BINDIR = /usr/local/bin X-MANDIR = ${prefix}/man X+MANDIR = ${PREFIX}/man X X # a BSD compatible 'install' program X-INSTALL = install X+INSTALL = @${BSD_INSTALL_PROGRAM} X X SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c find_sub.c X SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c me-opt-reg.c X@@ -226,44 +226,11 @@ X ifeq ($(VIDIX),yes) X $(DO_MAKE) X endif X- if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi X $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG) X-ifeq ($(GUI),yes) X- -ln -sf $(PRG) $(BINDIR)/gmplayer X-endif X- if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi X- $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 X+ @${BSD_INSTALL_MAN} DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 X ifeq ($(MENCODER),yes) X $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) X -ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 X-endif X- @if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi X- @if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi X- @if test ! -f $(DATADIR)/font/font.desc ; then \ X- echo "*** Download font at http://www.mplayerhq.hu/homepage/dload.html" ; \ X- echo "*** for OSD/Subtitles support and extract to $(DATADIR)/font/" ; \ X- fi X-ifeq ($(GUI),yes) X- @if test ! -d $(DATADIR)/Skin ; then mkdir -p $(DATADIR)/Skin ; fi X- @echo "*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html" X- @echo "*** for GUI, and extract to $(DATADIR)/Skin/" X-endif X- @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi X- @if test -f $(CONFDIR)/codecs.conf.old ; then mv -f $(CONFDIR)/codecs.conf.old $(CONFDIR)/codecs.conf.older ; fi X- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi X- $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf X-ifeq ($(DVDKIT),yes) X-ifeq ($(DVDKIT_SHARED),yes) X- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi X- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so X-endif X-endif X-ifeq ($(CSS_USE),yes) X- @echo "The following task requires root privileges. If it fails don't panic," X- @echo "however it means you can't use fibmap_mplayer." X- @echo "Without this (or without running mplayer as root) you won't be" X- @echo "able to play encrypted DVDs." X- -$(INSTALL) -o 0 -g 0 -m 4755 $(INSTALLSTRIP) $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP) X endif X X uninstall: END-of-mplayer-devel/files/patch-mplayer:Makefile echo x - mplayer-devel/files/patch-mplayer:subreader.c sed 's/^X//' >mplayer-devel/files/patch-mplayer:subreader.c << 'END-of-mplayer-devel/files/patch-mplayer:subreader.c' X--- subreader.c.orig Mon May 13 22:41:20 2002 X+++ subreader.c Tue Jun 4 22:54:33 2002 X@@ -18,11 +18,7 @@ X #define ERR ((void *) -1) X X #ifdef USE_ICONV X-#ifdef __FreeBSD__ X-#include X-#else X #include X-#endif X char *sub_cp=NULL; X #endif X END-of-mplayer-devel/files/patch-mplayer:subreader.c exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message