mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
ec3c994d0a
* Adopt port Approved by: George Neville-Neil <gnn@FreeBSD.org>
38 lines
772 B
Makefile
38 lines
772 B
Makefile
# New ports collection makefile for: ptpd
|
|
# Date created: 4 June 2008
|
|
# Whom: George V. Neville-Neil <gnn@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ptpd
|
|
DISTVERSION= 1.1.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= An implementation of the precision time protocol IEEE 1588
|
|
|
|
LICENSE= BSD
|
|
LATEST_LINK= ptpd1
|
|
|
|
WRKSRC= ${WRKDIR}/ptpd-${DISTVERSION}/src
|
|
CFLAGS+= -DBSD_INTERFACE_FUNCTIONS
|
|
|
|
PLIST_FILES= sbin/ptpd
|
|
PORTDOCS= *
|
|
|
|
USE_RC_SUBR= ptpd
|
|
|
|
MAN8= ptpd.8
|
|
|
|
do-install::
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|