freebsd-ports/multimedia/mplayer/Makefile.shared
Michael Scheidell dbadfe7b3a - Update to 1.0.r20111218
PR:		ports/163969
Submitted by:	thomas.e.zander@googlemail.com (maintainer)
Approved by:	gabor (mentor)
----------------------------------------------------------------------
2012-01-15 22:31:53 +00:00

46 lines
1.2 KiB
Text

# Contains the build infrastructural definitions for both
# mplayer and mencoder....the variables that we need to set
# before we include bsd.port.pre.mk
#
# $FreeBSD$
MPLAYER_SNAPSHOT_DATE= 2011-12-18
MPLAYER_PORT_VERSION= 1.0.r${MPLAYER_SNAPSHOT_DATE:S/-//g}
CATEGORIES?= multimedia audio
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
http://www.rrr.de/~riggs/mplayer/
DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/rc/g}
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
MAINTAINER?= thomas.e.zander@googlemail.com
LICENSE= GPLv2
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
USE_XZ= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_NCURSES= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --cc="${CC}" \
--host-cc="${CC}" \
--as="${AS}" \
--extra-cflags="-I${PREFIX}/include -I${LOCALBASE}/include" \
--extra-libs="-L${PREFIX}/lib" \
--disable-bitmap-font \
--disable-liba52 \
--disable-alsa \
--enable-ass-internal \
--disable-enca
WANT_GNOME= yes
WANT_SDL= yes
MAKE_JOBS_SAFE= yes