svn commit: r452970 - in head/sysutils/immortal: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Fri Oct 27 10:39:41 UTC 2017
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 at 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
+ at dir %%ETCDIR%%
More information about the svn-ports-head
mailing list