From owner-svn-ports-all@freebsd.org Wed Mar 21 14:11:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24955F6B103; Wed, 21 Mar 2018 14:11:32 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9EA47139C; Wed, 21 Mar 2018 14:11:31 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4DF62BAC4; Wed, 21 Mar 2018 14:11:31 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2LEBV4U074118; Wed, 21 Mar 2018 14:11:31 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2LEBVvQ074116; Wed, 21 Mar 2018 14:11:31 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201803211411.w2LEBVvQ074116@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Wed, 21 Mar 2018 14:11:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465179 - in head/sysutils/pot: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: in head/sysutils/pot: . files X-SVN-Commit-Revision: 465179 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 14:11:32 -0000 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@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"