summaryrefslogtreecommitdiff
path: root/net/ra-rtsp-proxy
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /net/ra-rtsp-proxy
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.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 'net/ra-rtsp-proxy')
-rw-r--r--net/ra-rtsp-proxy/Makefile5
-rw-r--r--net/ra-rtsp-proxy/pkg/MESSAGE7
2 files changed, 7 insertions, 5 deletions
diff --git a/net/ra-rtsp-proxy/Makefile b/net/ra-rtsp-proxy/Makefile
index b4fca85358d..d66d9aec4b8 100644
--- a/net/ra-rtsp-proxy/Makefile
+++ b/net/ra-rtsp-proxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/01/26 05:21:46 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:37 wiz Exp $
DISTNAME= rtspd-src-1.0.0.0
PKGNAME= ra-rtsp-proxy-1.0.0.0
@@ -19,7 +19,6 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
DOWNLOAD= http://proforma.real.com/mario/devzone/rtspproxyform.html
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
WRKSRC= ${WRKDIR}/rtspd-1.0.0.0a
do-fetch:
@@ -34,8 +33,6 @@ do-fetch:
post-build:
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/rtspd.sh >${WRKDIR}/rtspd.sh
- @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
- >${MESSAGE_FILE}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rtspd.sh ${PREFIX}/etc/rc.d/rtspd
diff --git a/net/ra-rtsp-proxy/pkg/MESSAGE b/net/ra-rtsp-proxy/pkg/MESSAGE
index 4f5856aaec8..c90996b061e 100644
--- a/net/ra-rtsp-proxy/pkg/MESSAGE
+++ b/net/ra-rtsp-proxy/pkg/MESSAGE
@@ -1 +1,6 @@
-Please add "@PREFIX@/etc/rc.d/rtspd.sh" to "/etc/rc.local".
+======================================================================
+$NetBSD
+
+Please add "${PREFIX}/etc/rc.d/rtspd" to "/etc/rc.local".
+
+======================================================================