blob: 605d8fe051462a5fdb6297d5d38e8684ffa15d53 (
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
32
33
34
35
36
37
|
# New ports collection makefile for: ptpd2
# Date created: 16 November 2010
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ptpd
DISTVERSION= 2.1.0
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Implementation of the precision time protocol IEEE 1588-2008
LICENSE= BSD
WRKSRC= ${WRKDIR}/ptpd-${DISTVERSION}/src
CFLAGS+= -DBSD_INTERFACE_FUNCTIONS
PLIST_FILES= sbin/ptpd2
PORTDOCS= *
USE_RC_SUBR= ptpd2
MAN8= ptpd2.8
do-install::
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}2 ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}2.8 ${MANPREFIX}/man/man8
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>
|