freebsd-ports/net/ptpd2/Makefile

41 lines
871 B
Makefile
Raw Normal View History

# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$
PORTNAME= ptpd
2015-07-01 16:54:40 +02:00
DISTVERSION= 2.3.1
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
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Implementation of the precision time protocol IEEE 1588-2008
2014-02-06 17:50:42 +01:00
LICENSE= BSD2CLAUSE
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
PORTDOCS= *
USE_RC_SUBR= ptpd2
OPTIONS_DEFINE= DOCS SNMP
OPTIONS_DEFAULT=SNMP
SNMP_CONFIGURE_ENABLE= snmp
SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
2014-02-06 17:50:42 +01:00
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${CP} ${FILESDIR}/*.sample ${STAGEDIR}${ETCDIR}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>