diff options
author | sketch <sketch@pkgsrc.org> | 2007-01-31 16:58:18 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2007-01-31 16:58:18 +0000 |
commit | 77d882e57b62ddba4ea7c2c0ce558a3a11be0703 (patch) | |
tree | 9e22f8c9999fc22ee91cecf334c7e1272ab5694c /multimedia/RealPlayerGold | |
parent | fea96101c3838656c8dfd66b0381c54a151c7551 (diff) | |
download | pkgsrc-77d882e57b62ddba4ea7c2c0ce558a3a11be0703.tar.gz |
Rename launch script from realplayergold to realplay so that the browser
plugin can find it. Bump PKGREVISION.
Make use of subst.mk while here.
Diffstat (limited to 'multimedia/RealPlayerGold')
-rw-r--r-- | multimedia/RealPlayerGold/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/multimedia/RealPlayerGold/Makefile b/multimedia/RealPlayerGold/Makefile index fee68372b35..91c877589d6 100644 --- a/multimedia/RealPlayerGold/Makefile +++ b/multimedia/RealPlayerGold/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.14 2006/09/29 21:21:54 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.15 2007/01/31 16:58:18 sketch Exp $ # DISTNAME= RealPlayer10GOLD # Exact version obtained from the output of # file RealPlayer10GOLD.rpm PKGNAME= RealPlayerGold-${PKGVER} +PKGREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://forms.real.com/real/player/download.html?f=unix/ EXTRACT_SUFX= .rpm @@ -53,17 +54,20 @@ NO_BIN_ON_CDROM= ${RESTRICTED} ONLY_FOR_PLATFORM= *-*-i386 +SUBST_CLASSES+= paths +SUBST_STAGE.paths= post-install +SUBST_FILES.paths= ${REALPLAYER_HOME}/realplay +SUBST_SED.paths= -e 's,/bin/true,${TRUE},g' +SUBST_MESSAGE.paths= Fixing hardcoded paths. + .include "../../mk/x11.buildlink3.mk" do-build: ${SED} -e 's|@REALPLAYER_HOME@|${REALPLAYER_HOME}|g' \ - ${FILESDIR}/realplay.sh > ${WRKDIR}/realplayergold + ${FILESDIR}/realplay.sh > ${WRKDIR}/realplay post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/realplayergold ${PREFIX}/bin - ${ECHO} bin/realplayergold >> ${PLIST_SRC} - ${SED} -e 's|/bin/true|${TRUE}|g' < ${REALPLAYER_HOME}/realplay \ - > ${WRKDIR}/realplay - ${INSTALL_SCRIPT} ${WRKDIR}/realplay ${REALPLAYER_HOME} + ${INSTALL_SCRIPT} ${WRKDIR}/realplay ${PREFIX}/bin + ${ECHO} bin/realplay >> ${PLIST_SRC} .include "../../mk/bsd.pkg.mk" |