1999-10-26 18:17:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 1999/10/26 16:17:45 tron Exp $
|
1999-09-01 22:25:02 +02:00
|
|
|
|
|
|
|
DISTNAME= rtspd-src-1.0.0.0
|
|
|
|
PKGNAME= ra-rtsp-proxy-1.0.0.0
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
|
1999-10-26 18:17:44 +02:00
|
|
|
MAINTAINER= tron@netbsd.org
|
1999-09-01 22:25:02 +02:00
|
|
|
HOMEPAGE= http://service.real.com/firewall/fdev.html
|
|
|
|
|
1999-10-26 18:17:44 +02:00
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
|
1999-09-01 22:25:02 +02:00
|
|
|
LICENSE= no-commercial-use
|
|
|
|
MIRROR_DISTFILE= no
|
|
|
|
|
|
|
|
DOWNLOAD= http://proforma.real.com/mario/devzone/rtspproxyform.html
|
|
|
|
|
|
|
|
MESSAGE_FILE= ${WRKDIR}/MESSAGE
|
|
|
|
WRKSRC= ${WRKDIR}/rtspd-1.0.0.0a
|
|
|
|
|
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
|
|
|
${ECHO_MSG} "==============================================================="; \
|
|
|
|
${ECHO_MSG} " The RTSP Proxy Kit must be fetched into \"${DISTDIR}\""; \
|
|
|
|
${ECHO_MSG} " via the Web formular available under this URL:"; \
|
|
|
|
${ECHO_MSG} " ${DOWNLOAD}"; \
|
|
|
|
${ECHO_MSG} "==============================================================="; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
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
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/rtspd.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rtspd ${PREFIX}/sbin
|
1999-09-01 23:00:11 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/ra-rtsp-proxy
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/share/doc/ra-rtsp-proxy
|
1999-09-01 22:25:02 +02:00
|
|
|
@${SED} -e 's#/usr/local#${PREFIX}#g' <${WRKSRC}/README \
|
1999-09-01 23:00:11 +02:00
|
|
|
>${PREFIX}/share/doc/ra-rtsp-proxy/README
|
1999-09-01 22:25:02 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|