svn commit: r465179 - in head/sysutils/pot: . files

Luca Pizzamiglio pizzamig at FreeBSD.org
Wed Mar 21 14:11:32 UTC 2018


Author: pizzamig
Date: Wed Mar 21 14:11:31 2018
New Revision: 465179
URL: https://svnweb.freebsd.org/changeset/ports/465179

Log:
  sysutils/pot: Fix rc script

Modified:
  head/sysutils/pot/Makefile
  head/sysutils/pot/files/pot.in

Modified: head/sysutils/pot/Makefile
==============================================================================
--- head/sysutils/pot/Makefile	Wed Mar 21 14:05:34 2018	(r465178)
+++ head/sysutils/pot/Makefile	Wed Mar 21 14:11:31 2018	(r465179)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pot
 PORTVERSION=	0.5.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	pizzamig at FreeBSD.org

Modified: head/sysutils/pot/files/pot.in
==============================================================================
--- head/sysutils/pot/files/pot.in	Wed Mar 21 14:05:34 2018	(r465178)
+++ head/sysutils/pot/files/pot.in	Wed Mar 21 14:11:31 2018	(r465179)
@@ -24,8 +24,8 @@ pot_start()
 {
 	local _pname
 	for _pname in $pot_list ; do
-		if pot info -qp $_pname ; then
-			pot start $_pname
+		if %%PREFIX%%/bin/${name} info -qp $_pname ; then
+			%%PREFIX%%/bin/${name} start $_pname
 		else
 			echo "pot start: pot $_pnmame not found"
 		fi
@@ -36,8 +36,8 @@ pot_stop()
 {
 	local _pname
 	for _pname in $pot_list ; do
-		if pot info -qp $_pname ; then
-			pot stop $_pname
+		if %%PREFIX%%/bin/${name} info -qp $_pname ; then
+			%%PREFIX%%/bin/${name} stop $_pname
 		else
 			echo "pot stop: pot $_pname not found"
 		fi
@@ -55,7 +55,7 @@ pot_status()
 {
 	local _p
 	for _p in $pot_list ; do
-		if pot info -qrp $_p ; then
+		if %%PREFIX%%/bin/${name} info -qrp $_p ; then
 			echo "pot $_p is up and running"
 		else
 			echo "pot $_p is not running"


More information about the svn-ports-all mailing list