pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ra-rtsp-proxy Use package source install framework...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d34f2f97663
branches:  trunk
changeset: 497996:7d34f2f97663
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Aug 09 22:30:13 2005 +0000

description:
Use package source install framework to handle the startup script.
Bump package revision because of this change.

diffstat:

 net/ra-rtsp-proxy/Makefile |  11 +++++------
 net/ra-rtsp-proxy/PLIST    |   4 ++--
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r 9f206a951754 -r 7d34f2f97663 net/ra-rtsp-proxy/Makefile
--- a/net/ra-rtsp-proxy/Makefile        Tue Aug 09 22:20:25 2005 +0000
+++ b/net/ra-rtsp-proxy/Makefile        Tue Aug 09 22:30:13 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2005/06/17 03:50:27 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2005/08/09 22:30:13 tron Exp $
 
 DISTNAME=      rtspd-src-1.0.0.0
 PKGNAME=       ra-rtsp-proxy-1.0.0.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  http://www.scn.rain.com/pub/security/firewalls/
 
@@ -17,6 +17,9 @@
 NO_BIN_ON_FTP=         ${RESTRICTED}
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 
+USE_PKGINSTALL=                yes
+RCD_SCRIPTS=           rtspd
+
 WRKSRC=                ${WRKDIR}/rtspd-1.0.0.0a
 
 .include "../../mk/bsd.prefs.mk"
@@ -27,11 +30,7 @@
 
 INSTALLATION_DIRS=     etc/rc.d man/man8 sbin
 
-post-build:
-       ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/rtspd.sh >${WRKDIR}/rtspd.sh
-
 do-install:
-       ${INSTALL_SCRIPT} ${WRKDIR}/rtspd.sh ${PREFIX}/etc/rc.d/rtspd
        ${INSTALL_MAN} ${WRKSRC}/rtspd.8 ${PREFIX}/man/man8
        ${INSTALL_PROGRAM} ${WRKSRC}/rtspd ${PREFIX}/sbin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ra-rtsp-proxy
diff -r 9f206a951754 -r 7d34f2f97663 net/ra-rtsp-proxy/PLIST
--- a/net/ra-rtsp-proxy/PLIST   Tue Aug 09 22:20:25 2005 +0000
+++ b/net/ra-rtsp-proxy/PLIST   Tue Aug 09 22:30:13 2005 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:58:22 zuntum Exp $
-etc/rc.d/rtspd
+@comment $NetBSD: PLIST,v 1.2 2005/08/09 22:30:13 tron Exp $
 man/man8/rtspd.8
 sbin/rtspd
 share/doc/ra-rtsp-proxy/README
 share/doc/ra-rtsp-proxy/license.txt
+share/examples/rc.d/rtspd
 @dirrm share/doc/ra-rtsp-proxy



Home | Main Index | Thread Index | Old Index