diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-08-22 06:11:11 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-08-22 06:11:11 +0000 |
commit | f0b0ed72c71f3f7e38e20b02ca52dbc574a7d0a3 (patch) | |
tree | 226de23ce10fff1db94c2d353954e621dc033840 /multimedia/mplayerxp/Makefile | |
parent | e92d716fcf83ee310166d54632a42547298be3bb (diff) | |
download | ports-f0b0ed72c71f3f7e38e20b02ca52dbc574a7d0a3.tar.gz ports-f0b0ed72c71f3f7e38e20b02ca52dbc574a7d0a3.zip |
Notes
Diffstat (limited to 'multimedia/mplayerxp/Makefile')
-rw-r--r-- | multimedia/mplayerxp/Makefile | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile new file mode 100644 index 000000000000..4b60ab7bafc5 --- /dev/null +++ b/multimedia/mplayerxp/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: mplayer +# Date created: 10 August 2001 +# Whom: Thomas E. Zander +# with lots of help from Vladimir Kushnir +# $FreeBSD$ +# + +PORTNAME= mplayer +PORTVERSION= 0.18 +CATEGORIES= graphics +MASTER_SITES= http://mp.dev.hu/MPlayer/releases/ \ + http://www.stud.uni-karlsruhe.de/~uedc/mplayer/ +DISTNAME= MPlayer-${PORTVERSION}pre +EXTRACT_SUFX= .tgz + +MAINTAINER= riggs@rrr.de + +ONLY_FOR_ARCHS= i386 + +WRKSRC= ${WRKDIR}/MPlayer-${PORTVERSION}pre5 +CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" +CFLAGS+= -O3 -ffast-math -fomit-frame-pointer + +MAN1= mplayer.1 +MANCOMPRESSED= no + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_XLIB= yes + +LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png +RUN_DEPENDS= ${PREFIX}/share/mplayer/fonts:${PORTSDIR}/graphics/mplayer-fonts + +CONFIGURE_ARGS+=--disable-esd \ + --enable-mmx2 \ + --enable-3dnow \ + --enable-3dnowex + +.if defined(WITH_SDL) +LIB_DEPENDS+= SDL-1.1.3:${PORTSDIR}/devel/sdl12 +.else +BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm +.endif + +.if defined(USE_AVIFILE_CODECS) +BUILD_DEPENDS+= ${PREFIX}/lib/win32:${PORTSDIR}/graphics/win32-codecs +.else +BUILD_DEPENDS+= ${PREFIX}/lib/mplayer-codecs:${PORTSDIR}/graphics/mplayer-codecs +CONFIGURE_ARGS+=--with-win32libdir=${LOCALBASE}/lib/mplayer-codecs +.endif + +post-install: + @${MKDIR} ${PREFIX}/share/mplayer + @${CHMOD} 755 ${PREFIX}/share/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/codecs.conf ${PREFIX}/share/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/example.conf ${PREFIX}/share/mplayer +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/mplayer + @${CHMOD} 755 ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/DGA ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/FREEBSD ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/MPlayer-FAQ ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/OpenDivX ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/README ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/SDL ${PREFIX}/share/doc/mplayer + @${INSTALL_DATA} ${WRKSRC}/DOCS/VIDEOCARDS ${PREFIX}/share/doc/mplayer +.endif + @${CAT} pkg-message + +install-user: + @${PERL} ${FILESDIR}/install-user + +.include <bsd.port.mk> |