summaryrefslogtreecommitdiff
path: root/multimedia/divxplayer/Makefile
diff options
context:
space:
mode:
authorobache <obache>2009-08-23 02:04:12 +0000
committerobache <obache>2009-08-23 02:04:12 +0000
commit8a0db45d68d91eea3e4c784787d6d3b8329df4d8 (patch)
tree96dc03e015907c89493e72c5204178c0b31c724d /multimedia/divxplayer/Makefile
parentd5f88c1fcdd0d4d30675c0c2d8e4bd6279c97809 (diff)
downloadpkgsrc-8a0db45d68d91eea3e4c784787d6d3b8329df4d8.tar.gz
* move DIST_SUBDIR, as pkglint suggest.
* use INSTALLATION_DIRS instead of do ${MKDIR}.
Diffstat (limited to 'multimedia/divxplayer/Makefile')
-rw-r--r--multimedia/divxplayer/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/divxplayer/Makefile b/multimedia/divxplayer/Makefile
index bc874d7656d..3a91cdf9d51 100644
--- a/multimedia/divxplayer/Makefile
+++ b/multimedia/divxplayer/Makefile
@@ -1,17 +1,16 @@
-# $NetBSD: Makefile,v 1.13 2008/03/04 19:32:30 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2009/08/23 02:04:12 obache Exp $
DISTNAME= divx-player-installer
PKGNAME= divxplayer-0.2.0
PKGREVISION= 3
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
-DIST_SUBDIR= ${PKGNAME_NOREV}
-
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= x11
@@ -23,15 +22,13 @@ BUILD_DIRS= # empty
BINARY= divxPlayer.bin
DATADIR= ${PREFIX}/share/divxplayer
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin ${DATADIR}/Skins
post-patch:
${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/launcher.sh \
> ${WRKDIR}/frontend.sh
do-install:
- ${MKDIR} ${DESTDIR}${DATADIR}
- ${MKDIR} ${DESTDIR}${DATADIR}/Skins
${INSTALL_DATA} ${WRKSRC}/Skins/* ${DESTDIR}${DATADIR}/Skins
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/frontend.sh \