From 3ce638ed02adf3649ce7b39076071ccb64529784 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jan 2001 11:34:21 +0000 Subject: 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. --- audio/realplayer/Makefile | 6 ++---- audio/realplayer/pkg/MESSAGE | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'audio') 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 -- cgit v1.2.3