aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-26 05:47:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-26 05:47:11 +0000
commitffad0927c2fd797b313adc5c7606376d77060662 (patch)
tree34afdbddf929696d1d15d73182988aec03c27f5a /net
parent6137a3e13634f50240b268d2339aab66d24c6567 (diff)
- Fix build problemes
Submitted by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=173857
Diffstat (limited to 'net')
-rw-r--r--net/mediaproxy/Makefile4
-rw-r--r--net/mediaproxy/files/mediaproxy.sh.in (renamed from net/mediaproxy/files/mediaproxy)2
-rw-r--r--net/mediaproxy/pkg-plist2
3 files changed, 3 insertions, 5 deletions
diff --git a/net/mediaproxy/Makefile b/net/mediaproxy/Makefile
index 5ab0881df1f0..3a585ab82958 100644
--- a/net/mediaproxy/Makefile
+++ b/net/mediaproxy/Makefile
@@ -13,6 +13,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= steve@energistic.com
COMMENT= A far-end NAT traversal solution for SER/OpenSER
+USE_RC_SUBR= mediaproxy.sh
+
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PYTHON= 2.3+
@@ -28,7 +30,5 @@ USE_MYSQL= yes
post-install:
${CP} -pRP ${WRKSRC}/ ${PREFIX}/mediaproxy
${CHOWN} -R 0:0 ${PREFIX}/mediaproxy
- ${INSTALL_SCRIPT} -b ${FILESDIR}/mediaproxy ${PREFIX}/etc/rc.d/mediaproxy
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${FILESDIR}/mediaproxy
.include <bsd.port.post.mk>
diff --git a/net/mediaproxy/files/mediaproxy b/net/mediaproxy/files/mediaproxy.sh.in
index fdb47658fb0d..03b89f912d6f 100644
--- a/net/mediaproxy/files/mediaproxy
+++ b/net/mediaproxy/files/mediaproxy.sh.in
@@ -17,7 +17,7 @@ load_rc_config $name
: ${mediaproxy_enable="NO"}
-INSTALL_DIR="/usr/local"
+INSTALL_DIR="/tmp/mediaproxy-1.7.2"
RUNTIME_DIR="/var/run"
PROXY="$INSTALL_DIR/mediaproxy/mediaproxy.py"
diff --git a/net/mediaproxy/pkg-plist b/net/mediaproxy/pkg-plist
index 12cd2e0bac7a..5264270bc639 100644
--- a/net/mediaproxy/pkg-plist
+++ b/net/mediaproxy/pkg-plist
@@ -216,5 +216,3 @@ mediaproxy/web/images/40/zyxel-p2000.png
@dirrm mediaproxy/web
@dirrmtry mediaproxy
-
-etc/rc.d/mediaproxy