2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
|
2010-11-16 20:28:37 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ptpd
|
2015-07-01 16:54:40 +02:00
|
|
|
DISTVERSION= 2.3.1
|
2010-11-16 20:28:37 +01:00
|
|
|
CATEGORIES= net
|
2014-02-06 17:50:42 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
2013-11-17 17:03:23 +01:00
|
|
|
PKGNAMESUFFIX= 2
|
2010-11-16 20:28:37 +01:00
|
|
|
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
|
|
COMMENT= Implementation of the precision time protocol IEEE 1588-2008
|
|
|
|
|
2014-02-06 17:50:42 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2010-11-16 20:28:37 +01:00
|
|
|
|
2013-11-17 17:03:23 +01:00
|
|
|
CONFLICTS= ptpd2-devel.*
|
2012-06-20 22:17:28 +02:00
|
|
|
|
2014-02-06 17:50:42 +01:00
|
|
|
ETCDIR= ${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-09-19 17:02:30 +02:00
|
|
|
USES= autoreconf gmake libtool
|
2010-11-16 20:28:37 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
USE_RC_SUBR= ptpd2
|
|
|
|
|
2014-07-08 08:19:30 +02:00
|
|
|
OPTIONS_DEFINE= DOCS SNMP
|
2015-08-28 15:39:56 +02:00
|
|
|
OPTIONS_DEFAULT=SNMP
|
2014-07-08 08:19:30 +02:00
|
|
|
|
|
|
|
SNMP_CONFIGURE_ENABLE= snmp
|
|
|
|
SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-02-06 17:50:42 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${CP} ${FILESDIR}/*.sample ${STAGEDIR}${ETCDIR}
|
2010-11-16 20:28:37 +01:00
|
|
|
|
2015-08-28 15:39:56 +02:00
|
|
|
post-install-DOCS-on:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2010-11-16 20:28:37 +01:00
|
|
|
.include <bsd.port.mk>
|