aboutsummaryrefslogtreecommitdiff
path: root/sysutils/daemontools-encore/Makefile
blob: 8e68a5e97624cdd0a0efdbdbe54945cb5176331f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$

PORTNAME=	daemontools-encore
PORTVERSION=	1.10
CATEGORIES=	sysutils
MASTER_SITES=	http://untroubled.org/daemontools-encore/

MAINTAINER=	uffe@uffe.org
COMMENT=	Daemontools-encore is a collection of tools for managing UNIX services

USES=		gmake

ALL_TARGET=	default

MANFILES=	\
	envdir.8 \
	envuidgid.8 \
	fghack.8 \
	multilog.8 \
	pgrphack.8 \
	readproctitle.8 \
	setlock.8 \
	setuidgid.8 \
	softlimit.8 \
	supervise.8 \
	svc.8 \
	svok.8 \
	svscan.8 \
	svscanboot.8 \
	svstat.8 \
	svup.8 \
	tai64n.8 \
	tai64nlocal.8

PLIST_FILES=	\
	bin/envdir \
	bin/envuidgid \
	bin/fghack \
	bin/multilog \
	bin/pgrphack \
	bin/readproctitle \
	bin/setlock \
	bin/setuidgid \
	bin/softlimit \
	bin/supervise \
	bin/svc \
	bin/svok \
	bin/svscan \
	bin/svscanboot \
	bin/svstat \
	bin/svup \
	bin/tai64n \
	bin/tai64nlocal \
	%%DOCSDIR%%/README \
	%%DOCSDIR%%/LICENSE  \
	%%DOCSDIR%%/CHANGES  \
	%%DOCSDIR%%/CHANGES.djb \
	${MANFILES:S,^,man/man8/,:S,$,.gz,}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/svscanboot.sh ${STAGEDIR}${PREFIX}/bin/svscanboot
.for binfile in envdir envuidgid fghack multilog pgrphack readproctitle setlock setuidgid softlimit supervise svc svok svscan svstat svup tai64n tai64nlocal
	${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/
.endfor
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README LICENSE CHANGES CHANGES.djb
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.for manfile in ${MANFILES}
	${INSTALL_MAN} ${WRKSRC}/${manfile} ${STAGEDIR}${MAN1PREFIX}/man/man8/
.endfor

.include <bsd.port.mk>