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
This commit is contained in:
Jimmy Olgeni 2017-10-27 10:39:40 +00:00
parent 57bd9c8cb2
commit 1aa4909911
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452970
3 changed files with 6 additions and 2 deletions

View file

@ -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>

View file

@ -22,6 +22,7 @@ rcvar=immortaldir_enable
load_rc_config $name
: ${immortaldir_enable="NO"}
: ${immortaldir_path=%%PREFIX%%/etc/immortal}
command=%%PREFIX%%/bin/${name}

View file

@ -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%%