aboutsummaryrefslogtreecommitdiffstats
path: root/net/openntpd/Makefile
blob: 5bdecbaa793ce514ea9bcd0f36802dc37079421b (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
# $FreeBSD$

PORTNAME=   openntpd
PORTVERSION=    5.7p1
PORTEPOCH=  2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_OPENBSD}
MASTER_SITE_SUBDIR= OpenNTPD

MAINTAINER= naddy@FreeBSD.org
COMMENT=    Network Time Protocol (NTP) daemon

LICENSE=    ISCL

USERS=      _ntp
GROUPS=     _ntp

USE_RC_SUBR=    openntpd

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=/var \
        --disable-silent-rules

pre-build:
    ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
        ${WRKSRC}/ntpd.conf.5 ${WRKSRC}/ntpd.8

post-install:
    cd ${STAGEDIR}${PREFIX}/etc; ${MV} ntpd.conf ntpd.conf.sample

.include <bsd.port.mk>