Index: head/net/ptpd2/Makefile =================================================================== --- head/net/ptpd2/Makefile (revision 312300) +++ head/net/ptpd2/Makefile (revision 312301) @@ -1,38 +1,38 @@ # New ports collection makefile for: ptpd2 # Date created: 16 November 2010 # Whom: Steven Kreuzer # # $FreeBSD$ # PORTNAME= ptpd DISTVERSION= 2.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF MAINTAINER= skreuzer@FreeBSD.org COMMENT= Implementation of the precision time protocol IEEE 1588-2008 LICENSE= BSD CONFLICTS= ptpd-2.r.* WRKSRC= ${WRKDIR}/ptpd-${DISTVERSION}/src 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 Index: head/net/ptpd2/files/ptpd2.in =================================================================== --- head/net/ptpd2/files/ptpd2.in (revision 312300) +++ head/net/ptpd2/files/ptpd2.in (revision 312301) @@ -1,24 +1,24 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: ptpd2 # REQUIRE: NETWORKING DAEMON # KEYWORD: nojail # # Add the following lines to /etc/rc.conf to enable ptpd # # ptpd2_enable (bool): Set to "NO" by default # Set it to "YES" to enable ptpd . /etc/rc.subr name="ptpd2" rcvar=ptpd2_enable command="%%PREFIX%%/sbin/${name}" -ptpd_enable=${ptpd2_enable:-"NO"} +ptpd2_enable=${ptpd2_enable:-"NO"} load_rc_config $name run_rc_command "$1"