aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2011-06-14 11:17:43 +0000
committerDiane Bruce <db@FreeBSD.org>2011-06-14 11:17:43 +0000
commit1140175a68673b32290ef795d6397072cfe8887e (patch)
treef01503cde6f5933e49c3cb2917afe3dd632178dd /comms
parent9ad8b70bf03269ec6fb97f3ba17146a4081b9d8d (diff)
downloadports-1140175a68673b32290ef795d6397072cfe8887e.tar.gz
ports-1140175a68673b32290ef795d6397072cfe8887e.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/thebridge/Makefile11
-rw-r--r--comms/thebridge/files/patch-addons_usermgmt.cgi17
2 files changed, 28 insertions, 0 deletions
diff --git a/comms/thebridge/Makefile b/comms/thebridge/Makefile
index 99653f92ca01..796a201edb6b 100644
--- a/comms/thebridge/Makefile
+++ b/comms/thebridge/Makefile
@@ -7,6 +7,7 @@
PORTNAME= thebridge
PORTVERSION= 1.06
+PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= SF/cqinet/${PORTNAME}/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -14,10 +15,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= db@FreeBSD.org
COMMENT= Amateur Radio Echolink conference bridge
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
PORTDOCS= README
USE_RC_SUBR= tbd
+MAKE_JOBS_SAFE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \
+ s,%%PREFIX%%,${PREFIX},' \
+ ${WRKSRC}/addons/usermgmt.cgi
post-install:
.if !defined(NOPORTDOCS)
diff --git a/comms/thebridge/files/patch-addons_usermgmt.cgi b/comms/thebridge/files/patch-addons_usermgmt.cgi
new file mode 100644
index 000000000000..3487ae4a8b93
--- /dev/null
+++ b/comms/thebridge/files/patch-addons_usermgmt.cgi
@@ -0,0 +1,17 @@
+--- addons/usermgmt.cgi.orig 2011-02-21 10:51:53.000000000 +0900
++++ addons/usermgmt.cgi 2011-02-21 10:55:12.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!%%LOCALBASE%%/bin/bash
+ #-------------------------------------------------------------------
+ # TheBridge Echolink Conference Server User Management Utility
+ #
+@@ -15,7 +15,7 @@
+ admin= # admin's callsign or quoted name
+ qrz=yes # leave blank to disable QRZ lookups
+ chginfo=no # enable/disable Info/Location changes
+-tbdcmd=/usr/local/bin/tbdcmd # path to "tbdcmd" executable
++tbdcmd=%%PREFIX%%/bin/tbdcmd # path to "tbdcmd" executable
+ #-------------------------------------------------------------------
+ echo 'Content-type: text/html'
+ echo ''