mencoder gets it too. Without that, fontconfig vertions from pkg and X11R6 get mixed which is bad. Bump mencoder's PKGREVISION.
33 lines
979 B
Makefile
33 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.36 2006/12/07 14:09:03 drochner Exp $
|
|
|
|
PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
|
|
PKGREVISION= 1
|
|
|
|
COMMENT= Software-only MPEG-1/2/4 video decoder
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --disable-mencoder
|
|
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
|
|
|
|
# Solaris/x86 has Xv, but the header files live in /usr/X11R6, not
|
|
# ${X11_BASE}, so we need to also look for headers in this path.
|
|
.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
|
|
CPPFLAGS+= -I/usr/X11R6/include
|
|
BUILDLINK_PASSTHRU_DIRS+= /usr/X11R6/include
|
|
.endif
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/libXv/buildlink3.mk"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|