diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /audio | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz |
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/realplayer/Makefile | 6 | ||||
-rw-r--r-- | audio/realplayer/pkg/MESSAGE | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/audio/realplayer/Makefile b/audio/realplayer/Makefile index d15e7c5c753..79214e88a9d 100644 --- a/audio/realplayer/Makefile +++ b/audio/realplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/12/25 09:35:58 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2001/01/29 11:34:22 wiz Exp $ DISTNAME= rp8_linux20_libc6_i386_cs1 PKGNAME= realplayer-8 @@ -35,12 +35,12 @@ NO_CONFIGURE= # defined SCRIPTS_ENV+= CAT="${CAT}" SCRIPTS_ENV+= CHMOD="${CHMOD}" SCRIPTS_ENV+= RP_INSTALLER="${RP_INSTALLER}" -MESSAGE_FILE= ${WRKDIR}/MESSAGE DOWNLOAD= http://proforma.real.com/real/player/unix/unix.html RP_INSTALLER= ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} REALPLAYER_HOME= ${PREFIX}/lib/RealPlayer8 NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins +MESSAGE_SUBST+= REALPLAYER_HOME=${REALPLAYER_HOME} do-fetch: @if [ ! -f ${RP_INSTALLER} ]; then \ @@ -67,8 +67,6 @@ do-build: pre-install: ${FIND} ${WRKSRC} \ \( -name "*.orig" -o -name "*.old" \) -exec ${RM} {} \; - ${SED} -e "s,@REALPLAYER_HOME@,${REALPLAYER_HOME},g" \ - < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/realplay.sh ${PREFIX}/bin/realplay diff --git a/audio/realplayer/pkg/MESSAGE b/audio/realplayer/pkg/MESSAGE index 9bb272e5bbc..4def017c1fb 100644 --- a/audio/realplayer/pkg/MESSAGE +++ b/audio/realplayer/pkg/MESSAGE @@ -1,13 +1,13 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2000/12/25 09:35:59 jlam Exp $ +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:22 wiz Exp $ Please be sure to read the licensing terms in - @REALPLAYER_HOME@/LICENSE + ${REALPLAYER_HOME}/LICENSE prior to using RealPlayer. Users may run: - @REALPLAYER_HOME@/mimeinstall.sh + ${REALPLAYER_HOME}/mimeinstall.sh to install the RealPlayer MIME types into their .mime.types and .mailcap files and to install a RealPlayer icon and MIME types into their KDE or |