35411a5a06
Fix a few pkglint warnings while here.
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
# $NetBSD: Makefile.common,v 1.2 2006/02/03 00:40:53 thomasklausner Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# This variable is used in all packages which depend on this package
|
|
MPLAYER_PKG_VERSION!= ${DATE} +%Y%m%d
|
|
|
|
DISTNAME= mplayer
|
|
CATEGORIES?= multimedia
|
|
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
|
http://ftp5.mplayerhq.hu/mplayer/releases/ \
|
|
http://www4.mplayerhq.hu/MPlayer/releases/ \
|
|
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
|
|
ftp://ftp5.mplayerhq.hu/mplayer/releases/
|
|
DIST_SUBDIR= mplayer-${MPLAYER_PKG_VERSION}
|
|
|
|
MAINTAINER?= tech-pkg@NetBSD.org
|
|
HOMEPAGE?= http://www.mplayerhq.hu/
|
|
|
|
#
|
|
# NOTE: gmplayer has its own distinfo file. if you are also updating
|
|
# gmplayer, you must ensure that *both* distinfo files contain the
|
|
# correct, up-to-date files and checksums.
|
|
#
|
|
# NOTE: patches are shared between mplayer and gmplayer!
|
|
#
|
|
|
|
PATCHDIR= ${.CURDIR}/../../wip/mplayer-share/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../wip/mplayer-share/distinfo
|
|
|
|
NO_BIN_ON_CDROM= a dependency is restricted
|
|
NO_BIN_ON_FTP= a dependency is restricted
|
|
NO_SRC_ON_FTP= prohibited by USAs DMCA
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
NO_CHECKSUM= YES
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
|
|
--with-extraincdir="${LOCALBASE}/include:${LOCALBASE}/include/faad2" \
|
|
--with-extralibdir="${LOCALBASE}/lib" \
|
|
--with-x11incdir="${X11BASE}/include" \
|
|
--with-x11libdir="${X11BASE}/lib" \
|
|
--disable-mpdvdkit
|
|
|
|
ONLY_FOR_COMPILER= gcc
|
|
|
|
# The configure script attempts to test-execute compiled programs in /tmp,
|
|
# but that directory may be mounted as noexec; work this around by setting
|
|
# TMPDIR to ${WRKDIR}
|
|
CONFIGURE_ENV+= TMPDIR=${WRKDIR:Q}
|
|
|
|
.include "../../wip/mplayer-share/options.mk"
|