diff options
author | miwi <miwi@FreeBSD.org> | 2006-09-26 13:47:11 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-09-26 13:47:11 +0800 |
commit | 9fa346b7f2a9a9587feac6724c9899640754227b (patch) | |
tree | 95c4c0fb37d3d595bbb2c5d0696243cab6976f9f /net/mediaproxy | |
parent | 24d870e7730530de23c7baf2c68c546b52a99b6d (diff) | |
download | freebsd-ports-gnome-9fa346b7f2a9a9587feac6724c9899640754227b.tar.gz freebsd-ports-gnome-9fa346b7f2a9a9587feac6724c9899640754227b.tar.zst freebsd-ports-gnome-9fa346b7f2a9a9587feac6724c9899640754227b.zip |
- Fix build problemes
Submitted by: pointyhat via kris
Diffstat (limited to 'net/mediaproxy')
-rw-r--r-- | net/mediaproxy/Makefile | 4 | ||||
-rw-r--r-- | net/mediaproxy/files/mediaproxy.sh.in (renamed from net/mediaproxy/files/mediaproxy) | 2 | ||||
-rw-r--r-- | net/mediaproxy/pkg-plist | 2 |
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 |