2007-08-05 23:27:31 +02:00
|
|
|
# Contains the build infrastructural definitions for both
|
|
|
|
# mplayer and mencoder....the variables that we need to set
|
|
|
|
# before we include bsd.port.pre.mk
|
|
|
|
|
2011-04-01 13:09:36 +02:00
|
|
|
MPLAYER_SNAPSHOT_DATE= 2011-03-29
|
2010-04-21 15:07:23 +02:00
|
|
|
MPLAYER_PORT_VERSION= 1.0.r${MPLAYER_SNAPSHOT_DATE:S/-//g}
|
2007-08-05 23:27:31 +02:00
|
|
|
CATEGORIES?= multimedia audio
|
2010-04-21 15:07:23 +02:00
|
|
|
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
|
2007-08-05 23:27:31 +02:00
|
|
|
http://www.rrr.de/~riggs/mplayer/
|
2010-04-21 15:07:23 +02:00
|
|
|
DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/rc/g}
|
|
|
|
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
|
2007-08-05 23:27:31 +02:00
|
|
|
|
|
|
|
MAINTAINER?= riggs@rrr.de
|
|
|
|
|
2010-08-03 14:37:29 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-04-21 15:07:23 +02:00
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2010-12-02 10:18:01 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
|
|
|
|
|
2007-08-05 23:27:31 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_ICONV= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
2010-04-21 15:07:23 +02:00
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
2007-08-05 23:27:31 +02:00
|
|
|
TMPDIR="${WRKSRC}"
|
2011-04-01 13:09:36 +02:00
|
|
|
CONFIGURE_ARGS= --cc=${CC} \
|
|
|
|
--host-cc=${CC} \
|
|
|
|
--disable-bitmap-font \
|
2010-09-02 21:56:12 +02:00
|
|
|
--disable-liba52
|
2010-04-21 15:07:23 +02:00
|
|
|
|
2007-08-05 23:27:31 +02:00
|
|
|
WANT_GNOME= yes
|
|
|
|
WANT_SDL= yes
|
2009-05-21 13:55:56 +02:00
|
|
|
|
2010-04-21 15:07:23 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|