diff --git a/net/ptpd2/Makefile b/net/ptpd2/Makefile index 33acf1aa7f88..6deaa88b3a68 100644 --- a/net/ptpd2/Makefile +++ b/net/ptpd2/Makefile @@ -1,38 +1,40 @@ PORTNAME= ptpd DISTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= net PKGNAMESUFFIX= 2 MAINTAINER= skreuzer@FreeBSD.org COMMENT= Implementation of the precision time protocol IEEE 1588-2008 WWW= https://github.com/ptpd/ptpd LICENSE= BSD2CLAUSE CONFLICTS= ptpd2-devel.* ETCDIR= ${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX} USES= autoreconf gmake libtool GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GITHUB= yes GH_TAGNAME= d27a6e0 USE_RC_SUBR= ptpd2 PORTDOCS= * OPTIONS_DEFINE= DOCS SNMP OPTIONS_DEFAULT=SNMP SNMP_CONFIGURE_ENABLE= snmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${CP} ${FILESDIR}/*.sample ${STAGEDIR}${ETCDIR} post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/net/ptpd2/pkg-plist b/net/ptpd2/pkg-plist index 1dd9fc95a27b..c2cd761da243 100644 --- a/net/ptpd2/pkg-plist +++ b/net/ptpd2/pkg-plist @@ -1,11 +1,11 @@ sbin/ptpd2 -man/man8/ptpd2.8.gz -man/man5/ptpd2.conf.5.gz %%ETCDIR%%/client-e2e-8023.conf.sample %%ETCDIR%%/client-e2e-pcap.conf.sample %%ETCDIR%%/client-e2e-socket.conf.sample +share/man/man8/ptpd2.8.gz +share/man/man5/ptpd2.conf.5.gz %%DATADIR%%/PTPBASE-MIB.txt %%DATADIR%%/leap-seconds.list %%DATADIR%%/ptpd2.conf.default-full %%DATADIR%%/ptpd2.conf.minimal %%DATADIR%%/templates.conf