aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile.shared
blob: 933b3aa72b8362e602da808c945911dc6bd386dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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_SNAPSHOT_DATE=  2010-01-17
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?=    riggs@rrr.de

LIB_DEPENDS=    png.6:${PORTSDIR}/graphics/png \
        freetype.9:${PORTSDIR}/print/freetype2

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= --disable-bitmap-font

CONFIGURE_LOG=  configure.log

WANT_GNOME= yes
WANT_SDL=   yes

MAKE_JOBS_SAFE= yes