diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-01-26 13:28:19 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-01-26 13:28:19 +0000 |
commit | bbb8af9c10e95bc70685526c9ec89b8098312e8b (patch) | |
tree | 9cbe0bda1b4b4f0625c900fbae70f8bdb6234d81 /multimedia/divxplayer/Makefile | |
parent | 8eb346a138989c6ca82917dcde6ab6c521b64631 (diff) | |
download | pkgsrc-bbb8af9c10e95bc70685526c9ec89b8098312e8b.tar.gz |
Move divxplayer to the multimedia category (coming from graphics).
This is version 0.2.0.
Diffstat (limited to 'multimedia/divxplayer/Makefile')
-rw-r--r-- | multimedia/divxplayer/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/divxplayer/Makefile b/multimedia/divxplayer/Makefile new file mode 100644 index 00000000000..b2d06337592 --- /dev/null +++ b/multimedia/divxplayer/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:28:19 jmmv Exp $ + +DISTNAME= divx-player-installer +PKGNAME= divxplayer-0.2.0 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME}/} + +MAINTAINER= david@netbsd-fr.org +HOMEPAGE= http://www.divx.com/ +COMMENT= DivX(TM) Video Player for Linux from DivX.com + +DEPENDS+= suse_linux>=7.3:../../emulators/suse_linux +DEPENDS+= suse_x11>=7.3:../../emulators/suse_linux + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +WRKSRC= ${WRKDIR}/divx-player-installer +CHECK_SHLIBS= NO +NO_BUILD= YES +USE_X11BASE= YES + +DIST_SUBDIR= ${PKGNAME} + +BINARY= divxPlayer.bin +DATADIR= ${PREFIX}/share/divxplayer + +post-patch: + ${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/launcher.sh \ + > ${WRKDIR}/frontend.sh + +do-install: + ${MKDIR} ${DATADIR} + ${MKDIR} ${DATADIR}/Skins + ${INSTALL_DATA} ${WRKSRC}/Skins/* ${DATADIR}/Skins + ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/frontend.sh \ + ${PREFIX}/bin/${BINARY:S/.bin$//} + +.include "../../emulators/suse_linux/Makefile.application" +.include "../../mk/bsd.pkg.mk" |