2013-09-20 23:05:58 +00:00
|
|
|
# Created by: Kelley Reynolds <kelley@insidesystems.net>
|
2004-11-05 13:03:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= daedalus
|
2005-08-01 17:58:42 +00:00
|
|
|
PORTVERSION= 2.0.1
|
2004-11-05 13:03:46 +00:00
|
|
|
CATEGORIES= sysutils
|
2005-06-30 11:11:49 +00:00
|
|
|
MASTER_SITES= ftp://ftp.insidesystems.net/daedalus/
|
2004-11-05 13:03:46 +00:00
|
|
|
|
2014-07-06 15:52:25 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-11-05 13:03:46 +00:00
|
|
|
COMMENT= Flexible process monitor/restart daemon written in ruby
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_FEATURES= 1.8
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USE_RC_SUBR= yes
|
2010-03-28 05:52:12 +00:00
|
|
|
SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
|
2004-11-05 13:03:46 +00:00
|
|
|
-e 's,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX},g'
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${SED} ${SED_SCRIPT} ${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh
|
|
|
|
|
|
|
|
do-install:
|
2014-07-12 17:43:41 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/daedalus.rb ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/daedalus.xml \
|
|
|
|
${STAGEDIR}${ETCDIR}/daedalus.xml.sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/templates.xml \
|
|
|
|
${STAGEDIR}${ETCDIR}/templates.xml.sample
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/rc.d/${PORTNAME}.sh
|
2004-11-05 13:03:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|