mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
855608db9a
by IEEE-1588-2008. PTP was developed to provide very precise time coordination of LAN connected computers. PTPd is a complete implementation of the IEEE 1588-2008 specification for a standard (non-boundary) clock
38 lines
764 B
Makefile
38 lines
764 B
Makefile
# 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>
|