sthen deb0399133 import ports/sysutils/perp, from maintainer Jan-Piet Mens, ok kn@
The perp package provides a set of daemons and utilities to reliably
start, monitor, log, and control a collection of persistent processes.

A "persistent process" is any program intended to be long-running,
highly available, and purpose critical. Also known and often described
as a "service", a persistent process normally provides some essential,
on-demand system service. Programs that serve email, domain name
queries, and http requests are all examples of services that are
normally run as persistent processes.

These are the programs that you want to start at system boot, and
to continue running for as long as the system itself. These are the
programs you need running in uninterrupted service, day and night,
forever and ever.

perp helps make sure that they do.
2020-01-11 16:52:27 +00:00

36 lines
935 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/01/11 16:52:27 sthen Exp $
COMMENT= process supervisor & service framework for unix
V= 2.07
DISTNAME= perp-${V}
CATEGORIES= sysutils
HOMEPAGE= http://b0llix.net/perp/
MAINTAINER= Jan-Piet Mens <ports@jpmens.net>
# License free to use http://b0llix.net/perp/site.cgi?page=LICENSE
PERMIT_PACKAGE= Yes
WANTLIB += c
MASTER_SITES= http://b0llix.net/perp/distfiles/
CFLAGS+= -I. -I../lasagna
CFLAGS+= -DPERP_BASE_DEFAULT='\"${SYSCONFDIR}/perp\"'
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
MAKE_FLAGS+= BINDIR="${TRUEPREFIX}/bin" \
SBINDIR="${TRUEPREFIX}/sbin" \
MANDIR="${TRUEPREFIX}/man"
.ifndef DEBUG
pre-install:
cd ${WRKSRC} && ${MAKE} strip
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/perp
cp -r ${WRKSRC}/examples/* ${PREFIX}/share/examples/perp/
.include <bsd.port.mk>