Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2017 10:39:40 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452970 - in head/sysutils/immortal: . files
Message-ID:  <201710271039.v9RAdeT1098023@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Oct 27 10:39:40 2017
New Revision: 452970
URL: https://svnweb.freebsd.org/changeset/ports/452970

Log:
  sysutils/immortal:
  
  - Initialize immortaldir_enable in startup script to avoid warnings.
  
  - Move www.yml.sample to EXAMPLESDIR so it will not be in the way of actually
    used files.
  
  PR:		223245
  Submitted by:	olgeni
  Approved by:	maintainer

Modified:
  head/sysutils/immortal/Makefile
  head/sysutils/immortal/files/immortaldir.in
  head/sysutils/immortal/pkg-plist   (contents, props changed)

Modified: head/sysutils/immortal/Makefile
==============================================================================
--- head/sysutils/immortal/Makefile	Fri Oct 27 10:15:27 2017	(r452969)
+++ head/sysutils/immortal/Makefile	Fri Oct 27 10:39:40 2017	(r452970)
@@ -2,6 +2,7 @@
 
 PORTNAME=	immortal
 PORTVERSION=	0.16.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	nbari@tequila.io
@@ -40,6 +41,7 @@ do-install:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${ETCDIR}
-	${INSTALL_DATA} ${FILESDIR}/www.yml ${STAGEDIR}${ETCDIR}/www.yml.sample
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/www.yml ${STAGEDIR}${EXAMPLESDIR}/www.yml.sample
 
 .include <bsd.port.mk>

Modified: head/sysutils/immortal/files/immortaldir.in
==============================================================================
--- head/sysutils/immortal/files/immortaldir.in	Fri Oct 27 10:15:27 2017	(r452969)
+++ head/sysutils/immortal/files/immortaldir.in	Fri Oct 27 10:39:40 2017	(r452970)
@@ -22,6 +22,7 @@ rcvar=immortaldir_enable
 
 load_rc_config $name
 
+: ${immortaldir_enable="NO"}
 : ${immortaldir_path=%%PREFIX%%/etc/immortal}
 
 command=%%PREFIX%%/bin/${name}

Modified: head/sysutils/immortal/pkg-plist
==============================================================================
--- head/sysutils/immortal/pkg-plist	Fri Oct 27 10:15:27 2017	(r452969)
+++ head/sysutils/immortal/pkg-plist	Fri Oct 27 10:39:40 2017	(r452970)
@@ -1,7 +1,8 @@
 bin/immortal
 bin/immortalctl
 bin/immortaldir
-%%ETCDIR%%/www.yml.sample
 man/man8/immortal.8.gz
 man/man8/immortalctl.8.gz
 man/man8/immortaldir.8.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/www.yml.sample
+@dir %%ETCDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710271039.v9RAdeT1098023>