summaryrefslogtreecommitdiffstats
path: root/net/msntp/Makefile
blob: 58c3d71e59e8a2b6cdfc162c7a837eb69b642961 (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
29
30
# 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}
.if !defined(NOPORTDOCS)
	${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

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