Files
ports/multimedia/mplayer/Makefile.shared
T
Sergey Matveychuk a4ee50de55 - Split the port into mplayer and mencoder
- mplayer is now pkg_add'able as it no longer depends on restricted ports
- Remove compatibility tweaks for FreeBSD-4 as it is no longer supported
- A patch to correct handle amd64 in libdha-pci.c

PR:             ports/115170
Submitted by:   maintainer
2007-08-05 21:27:31 +00:00

47 lines
1.3 KiB
Makefile

# Contains the build infrastructural definitions for both
# mplayer and mencoder....the variables that we need to set
# before we include bsd.port.pre.mk
MPLAYER_PORT_VERSION= 0.99.10
CATEGORIES?= multimedia audio
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
http://ftp.lug.udel.edu/MPlayer/releases/ \
http://www4.mplayerhq.hu/MPlayer/releases/ \
http://mirrors.xmission.com/MPlayer/releases/ \
ftp://ftp1.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp.lug.udel.edu/MPlayer/releases/ \
ftp://mirrors.xmission.com/MPlayer/releases/ \
http://www.rrr.de/~riggs/mplayer/
DISTNAME= MPlayer-1.0rc1
MAINTAINER?= riggs@rrr.de
PATCH_SITES= http://www.mplayerhq.hu/MPlayer/patches/
PATCHFILES+= asmrules_fix_20061231.diff
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS} \
TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
--with-extraincdir=${LOCALBASE}/include \
--cc=${CC} \
--as=${AS} \
--enable-png \
--enable-menu \
--disable-libfame \
--disable-faad-external \
--disable-vidix-external \
--disable-tv-v4l1 \
--disable-tv-v4l2
WANT_GNOME= yes
WANT_SDL= yes