1f6a39a84e
Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2005/12/12 14:43:26 joerg Exp $
|
|
|
|
DISTNAME= divx-player-installer
|
|
PKGNAME= divxplayer-0.2.0
|
|
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_linux>=7.3:../../emulators/suse_linux
|
|
DEPENDS+= suse_x11>=7.3:../../emulators/suse_linux
|
|
.endif
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
|
|
|
WRKSRC= ${WRKDIR}/divx-player-installer
|
|
CHECK_SHLIBS= NO
|
|
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"
|