# $NetBSD: Makefile,v 1.10 2006/06/30 13:50:07 salo Exp $ DISTNAME= divx-player-installer PKGNAME= divxplayer-0.2.0 PKGREVISION= 2 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME}/} MAINTAINER= david@silicium.ath.cx HOMEPAGE= http://www.divx.com/ COMMENT= DivX(TM) Video Player for Linux from DivX.com .include "../../emulators/suse_linux/Makefile.application" .if !defined(USE_NATIVE_LINUX) DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11 .endif ONLY_FOR_PLATFORM= *-*-i386 WRKSRC= ${WRKDIR}/divx-player-installer NO_BUILD= YES USE_X11BASE= YES DIST_SUBDIR= ${PKGNAME_NOREV} BINARY= divxPlayer.bin DATADIR= ${PREFIX}/share/divxplayer INSTALLATION_DIRS= bin 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 "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk"