summaryrefslogtreecommitdiff
path: root/net/timed/Makefile
blob: 9d917625575f9379877d8602b3d7aaf3c599d34d (plain)
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

PORTNAME=	timed
PORTVERSION=	8.1
PORTREVISION=	1
CATEGORIES=	net

MAINTAINER=	se@FreeBSD.org
COMMENT=	Old time synchronisation service superseded by more modern protocols

LICENSE=	BSD3CLAUSE

USE_GITHUB=	yes
GH_ACCOUNT=	freebsd

post-build:
		${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/rc.d/timed

do-install:
.for f in timed timedc
		${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} \
			${STAGEDIR}${PREFIX}/sbin
		${INSTALL_MAN} ${WRKSRC}/${f}/${f}.8 \
			${STAGEDIR}${MAN8PREFIX}/man/man8/
.endfor
		${INSTALL_SCRIPT} ${WRKSRC}/rc.d/timed \
			${STAGEDIR}${PREFIX}/etc/rc.d/

.include <bsd.port.mk>