2009-08-23 04:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2009/08/23 02:12:51 obache Exp $
|
2004-01-26 14:28:19 +01:00
|
|
|
|
|
|
|
DISTNAME= divx-player-installer
|
|
|
|
PKGNAME= divxplayer-0.2.0
|
2009-08-23 04:07:31 +02:00
|
|
|
PKGREVISION= 4
|
2004-01-26 14:28:19 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME}/}
|
2009-08-23 04:04:12 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2004-01-26 14:28:19 +01:00
|
|
|
|
2005-05-03 01:02:06 +02:00
|
|
|
MAINTAINER= david@silicium.ath.cx
|
2004-01-26 14:28:19 +01:00
|
|
|
HOMEPAGE= http://www.divx.com/
|
|
|
|
COMMENT= DivX(TM) Video Player for Linux from DivX.com
|
|
|
|
|
2007-07-29 07:18:36 +02:00
|
|
|
EMUL_PLATFORMS= linux-i386
|
2009-08-23 04:07:31 +02:00
|
|
|
EMUL_MODULES.linux= compat x11
|
2004-01-26 14:28:19 +01:00
|
|
|
|
2008-03-04 20:32:30 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-08-23 04:12:51 +02:00
|
|
|
NO_BUILD= yes
|
2004-01-26 14:28:19 +01:00
|
|
|
|
|
|
|
BINARY= divxPlayer.bin
|
|
|
|
DATADIR= ${PREFIX}/share/divxplayer
|
|
|
|
|
2009-08-23 04:04:12 +02:00
|
|
|
INSTALLATION_DIRS= bin ${DATADIR}/Skins
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2004-01-26 14:28:19 +01:00
|
|
|
post-patch:
|
|
|
|
${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/launcher.sh \
|
|
|
|
> ${WRKDIR}/frontend.sh
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Skins/* ${DESTDIR}${DATADIR}/Skins
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${DESTDIR}${PREFIX}/bin
|
2004-01-26 14:28:19 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/frontend.sh \
|
2008-03-04 20:32:30 +01:00
|
|
|
${DESTDIR}${PREFIX}/bin/${BINARY:S/.bin$//}
|
2004-01-26 14:28:19 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|