diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-20 04:26:21 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-20 04:26:21 +0000 |
commit | 48ca83c32da847fc6de4120ee06a550170169ed3 (patch) | |
tree | 74a23411b07219cce896b85cfe437dfb46b3f6b3 /multimedia | |
parent | edf3475bafdb84ac75321224e626efc775ce9e64 (diff) | |
download | FreeBSD-ports-48ca83c32da847fc6de4120ee06a550170169ed3.zip FreeBSD-ports-48ca83c32da847fc6de4120ee06a550170169ed3.tar.gz |
o New port divxplayer version 2.0 alpha: DivX(TM) Video Player for
Linux from DivX.com
o It is still alpha material so probably does not work for most.
PKGMESSAGE warns about that
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/linux-divxplayer/Makefile | 59 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/distinfo | 1 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/files/wrapper.sh | 14 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/pkg-descr | 8 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/pkg-message | 11 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/pkg-plist | 7 |
7 files changed, 101 insertions, 0 deletions
diff --git a/multimedia/linux-divxplayer/Makefile b/multimedia/linux-divxplayer/Makefile new file mode 100644 index 0000000..617783a --- /dev/null +++ b/multimedia/linux-divxplayer/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: divx.com player +# Date created: Sun May 19 22:17:41 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= divxplayer +PORTVERSION= 0.2.0 +CATEGORIES= graphics linux +MASTER_SITES= http://download.divx.com/player/ +PKGNAMEPREFIX= linux- +DISTNAME= divx-player-installer + +MAINTAINER= lioux@FreeBSD.org + +RUN_DEPENDS= \ + ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-7 + +ONLY_FOR_ARCHS= i386 +USE_LINUX= yes +USE_X_PREFIX= yes +NO_BUILD= yes +STRIP= + +WRKSRC= ${WRKDIR}/divx-player-installer + +STRIP_CMD= ${LINUXBASE}/usr/bin/strip + +.if exists(/usr/bin/brandelf) +BRANDELF?= /usr/bin/brandelf +.else +BRANDELF?= brandelf +.endif + +BINARY_NAME= divxPlayer.bin + +post-patch: + @${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/wrapper.sh \ + > ${WRKDIR}/wrapper.sh + +pre-install: +.if exists(${STRIP_CMD}) + @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} +.endif + @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} + +do-install: +# skin files + @${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR}/Skins + @${INSTALL_DATA} ${WRKSRC}/Skins/* ${DATADIR}/Skins +# player + @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \ + ${PREFIX}/bin/${BINARY_NAME:S/.bin$//} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/multimedia/linux-divxplayer/distinfo b/multimedia/linux-divxplayer/distinfo new file mode 100644 index 0000000..32ac769 --- /dev/null +++ b/multimedia/linux-divxplayer/distinfo @@ -0,0 +1 @@ +MD5 (divx-player-installer.tar.gz) = d0c5188e0a70427f69ade79f6e780031 diff --git a/multimedia/linux-divxplayer/files/wrapper.sh b/multimedia/linux-divxplayer/files/wrapper.sh new file mode 100644 index 0000000..5b56eef --- /dev/null +++ b/multimedia/linux-divxplayer/files/wrapper.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +PROGRAM="${0}" +DATADIR="%%DATADIR%%" +DIVX_SKIN_DIR=${DATADIR}/Skins + +export DIVX_SKIN_DIR + +if [ -f ~/.divxPlayer/DivXPlayer.dbf ] +then + rm -f ~/.divxPlayer/DivXPlayer.dbf +fi + +exec ${PROGRAM}.bin ${*} diff --git a/multimedia/linux-divxplayer/pkg-comment b/multimedia/linux-divxplayer/pkg-comment new file mode 100644 index 0000000..6c27acf --- /dev/null +++ b/multimedia/linux-divxplayer/pkg-comment @@ -0,0 +1 @@ +DivX(TM) Video Player for Linux from DivX.com diff --git a/multimedia/linux-divxplayer/pkg-descr b/multimedia/linux-divxplayer/pkg-descr new file mode 100644 index 0000000..fcb842d --- /dev/null +++ b/multimedia/linux-divxplayer/pkg-descr @@ -0,0 +1,8 @@ +[ from developer's site ] + +The DivX(TM) Player for Linux from DivX.com is built from the same +codebase as the Windows version. It performs exactly like its Windows +cousin in all respects, and can even use the same skin files. Behold +the wonders of cross-platform development. + +WWW: http://www.divx.com/ diff --git a/multimedia/linux-divxplayer/pkg-message b/multimedia/linux-divxplayer/pkg-message new file mode 100644 index 0000000..c2d67fd --- /dev/null +++ b/multimedia/linux-divxplayer/pkg-message @@ -0,0 +1,11 @@ + ATTENTIONATTENTION: + +This port requires linux_base-7. linux_base-6 or earlier +will not do. Please, make sure you have linux_base-7 +installed. + +Moreover, this is an an alpha release, so there are some bugs. +Do not be surprised if the player does not work at all for +you. + +Report all bugs to http://www.divx.com/ diff --git a/multimedia/linux-divxplayer/pkg-plist b/multimedia/linux-divxplayer/pkg-plist new file mode 100644 index 0000000..3bbe720 --- /dev/null +++ b/multimedia/linux-divxplayer/pkg-plist @@ -0,0 +1,7 @@ +bin/divxPlayer +bin/divxPlayer.bin +share/divxplayer/Skins/Corner.zip +share/divxplayer/Skins/Default.dps +share/divxplayer/Skins/divxexplorer.dps +@dirrm share/divxplayer/Skins +@dirrm share/divxplayer |