svn commit: r408947 - in head/news/nzbget: . files

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Feb 15 17:00:48 UTC 2016


Author: rakuco
Date: Mon Feb 15 17:00:47 2016
New Revision: 408947
URL: https://svnweb.freebsd.org/changeset/ports/408947

Log:
  Set `command' before using it in the startup script.
  
  This fixes the status command which was returning "eval: -L: not found"
  before.
  
  PR:		206722
  Submitted by:	dburkland at dburkland.com (first version),
  		Toxic <toxic at doobie.com> (maintainer)
  MFH:		2016Q1

Modified:
  head/news/nzbget/Makefile
  head/news/nzbget/files/nzbget.in

Modified: head/news/nzbget/Makefile
==============================================================================
--- head/news/nzbget/Makefile	Mon Feb 15 16:51:05 2016	(r408946)
+++ head/news/nzbget/Makefile	Mon Feb 15 17:00:47 2016	(r408947)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nzbget
 PORTVERSION=	16.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	news
 

Modified: head/news/nzbget/files/nzbget.in
==============================================================================
--- head/news/nzbget/files/nzbget.in	Mon Feb 15 16:51:05 2016	(r408946)
+++ head/news/nzbget/files/nzbget.in	Mon Feb 15 17:00:47 2016	(r408947)
@@ -20,10 +20,10 @@ load_rc_config ${name}
 
 : ${nzbget_enable:=NO}
 
+command=%%PREFIX%%/bin/nzbget
 start_cmd="${name}_start"
 status_cmd="${command} -L S"
 stop_cmd="${name}_stop"
-command=%%PREFIX%%/bin/nzbget
 
 nzbget_start()
 {


More information about the svn-ports-all mailing list