1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net/timed/Makefile
Stefan Eßer 3149851c59 Fix installation of the service script in rc.d.
The script was installed without execute permission and was therefore
ignored during multi-user start-up.

Submitted by:	jhs
Approved by:	antoine (implicit)
2019-02-05 13:21:27 +00:00

30 lines
620 B
Makefile

# $FreeBSD$
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>