aboutsummaryrefslogtreecommitdiff
path: root/net/coturn/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-03 19:27:40 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-03 19:27:40 +0000
commit47b61d7c4f6fd5c9b1f2180b1b9ebbac390969a8 (patch)
tree718197a9b7384242ba0d998bdabe4509ad2d7261 /net/coturn/Makefile
parent7d5db05bf0392ba515e8c376e9a9adb368708419 (diff)
downloadports-47b61d7c4f6fd5c9b1f2180b1b9ebbac390969a8.tar.gz
ports-47b61d7c4f6fd5c9b1f2180b1b9ebbac390969a8.zip
net/coturn: rc script fixes
* Fetch pidfile from config file * Integrate into ports Makefile correctly * Pet rclint PR: 253978 Submitted by: crees
Notes
Notes: svn path=/head/; revision=567256
Diffstat (limited to 'net/coturn/Makefile')
-rw-r--r--net/coturn/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/coturn/Makefile b/net/coturn/Makefile
index 062803dfe877..ef03e9b18fcb 100644
--- a/net/coturn/Makefile
+++ b/net/coturn/Makefile
@@ -2,7 +2,7 @@
PORTNAME= coturn
DISTVERSION= 4.5.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
@@ -18,11 +18,11 @@ USE_GITHUB= yes
SHEBANG_FILES= examples/scripts/oauth.sh examples/scripts/restapi/shared_secret_maintainer.pl
+USE_RC_SUBR= turnserver
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --enable-shared --turndbdir=/var/db/${PORTNAME}
-SUB_FILES= turnserver-service
-
DOCSDIR= ${PREFIX}/share/doc/turnserver
EXAMPLESDIR= ${PREFIX}/share/examples/turnserver
@@ -32,7 +32,6 @@ PORTDOCS= *
PORTEXAMPLES= *
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/turnserver-service ${STAGEDIR}${PREFIX}/etc/rc.d/turnserver
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>