pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/divxplayer * move DIST_SUBDIR, as pkglint s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/965231bd3017
branches: trunk
changeset: 563908:965231bd3017
user: obache <obache%pkgsrc.org@localhost>
date: Sun Aug 23 02:04:12 2009 +0000
description:
* move DIST_SUBDIR, as pkglint suggest.
* use INSTALLATION_DIRS instead of do ${MKDIR}.
diffstat:
multimedia/divxplayer/Makefile | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 66b1b2615bd5 -r 965231bd3017 multimedia/divxplayer/Makefile
--- a/multimedia/divxplayer/Makefile Sun Aug 23 01:14:00 2009 +0000
+++ b/multimedia/divxplayer/Makefile Sun Aug 23 02:04:12 2009 +0000
@@ -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@localhost
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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index