blob: 202b2f0853a526964a6349e8bf679378ee10efff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.16 2009/08/23 02:12:51 obache Exp $
DISTNAME= divx-player-installer
PKGNAME= divxplayer-0.2.0
PKGREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME}/}
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= david@silicium.ath.cx
HOMEPAGE= http://www.divx.com/
COMMENT= DivX(TM) Video Player for Linux from DivX.com
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= compat x11
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
BINARY= divxPlayer.bin
DATADIR= ${PREFIX}/share/divxplayer
INSTALLATION_DIRS= bin ${DATADIR}/Skins
post-patch:
${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/launcher.sh \
> ${WRKDIR}/frontend.sh
do-install:
${INSTALL_DATA} ${WRKSRC}/Skins/* ${DESTDIR}${DATADIR}/Skins
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/frontend.sh \
${DESTDIR}${PREFIX}/bin/${BINARY:S/.bin$//}
.include "../../mk/bsd.pkg.mk"
|