summaryrefslogtreecommitdiffstats
path: root/net/msntp/Makefile
blob: b87b51e40b1f26cb5163997bc03fdf3c7c313ed5 (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
# New ports collection makefile for:	msntp
# Date created:				4 April 2003
# Whom:					Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=	msntp
PORTVERSION=	1.6
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.openpkg.org/sources/DST/${PORTNAME}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A straightforward SNTP daemon/utility

MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-lm"
CFLAGS+=	-DLOCKNAME='\"/var/run/msntp.pid\"'
CFLAGS+=	-DSAVENAME='\"/var/db/msntp.state\"'
MAN1=		msntp.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/msntp ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/msntp.1 ${PREFIX}/man/man1
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud