diff options
author | Cy Schubert <cy@FreeBSD.org> | 2014-03-14 19:21:55 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2014-03-14 19:21:55 +0000 |
commit | f87895510869ee86581744482a4075b240c9eec1 (patch) | |
tree | 9db6380deafb29d018cb7cce1502647c7503cd9f /net/ntp-devel | |
parent | 6b2930c96c397ada5e53494b5ef6cbb7198ea903 (diff) | |
download | ports-f87895510869ee86581744482a4075b240c9eec1.tar.gz ports-f87895510869ee86581744482a4075b240c9eec1.zip |
Support staging.
Notes
Notes:
svn path=/head/; revision=348275
Diffstat (limited to 'net/ntp-devel')
-rw-r--r-- | net/ntp-devel/Makefile | 21 | ||||
-rw-r--r-- | net/ntp-devel/pkg-plist | 8 |
2 files changed, 17 insertions, 12 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile index 89e50023088d..6476ec8f622f 100644 --- a/net/ntp-devel/Makefile +++ b/net/ntp-devel/Makefile @@ -17,13 +17,9 @@ COMMENT= The Network Time Protocol Distribution GNU_CONFIGURE= yes USE_AUTOTOOLS= automake libtool AUTOMAKE_ARGS= --add-missing -USES= pathfix -LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2 +USES= pathfix +LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2 -MAN5= ntp.conf.5 ntp.keys.5 -MAN8= ntp-keygen.8 ntpd.8 ntpdc.8 ntpq.8 sntp.8 - -NO_STAGE= yes .include "Makefile.inc" .include <bsd.port.options.mk> @@ -48,12 +44,13 @@ CONFIGURE_ARGS+= --enable-ntp-signd .if ${PORT_OPTIONS:MNTPSNMPD} PLIST_FILES+= sbin/ntpsnmpd -MAN8+= ntpsnmpd.8 +PLIST_SUB+= NTPSNMPD="" BUILD_DEPENDS+= ${LOCALBASE}/include/net-snmp/net-snmp-config.h:${PORTSDIR}/net-mgmt/net-snmp -LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp +LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp RUN_DEPENDS+= ${LOCALBASE}/include/net-snmp/net-snmp-config.h:${PORTSDIR}/net-mgmt/net-snmp .else CONFIGURE_ARGS+= --without-ntpsnmpd +PLIST_SUB+= NTPSNMPD="@comment " .endif .for D in ${NTP_DRIVERS} @@ -84,13 +81,13 @@ post-patch: ${WRKSRC}/aclocal.m4 post-install: - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR} .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @cd ${WRKSRC}/html && ${FIND} . -print | \ - ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR} + ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/net/ntp-devel/pkg-plist b/net/ntp-devel/pkg-plist index 610ba26898dc..2be818a62577 100644 --- a/net/ntp-devel/pkg-plist +++ b/net/ntp-devel/pkg-plist @@ -1,3 +1,11 @@ +man/man5/ntp.conf.5.gz +man/man5/ntp.keys.5.gz +man/man8/ntp-keygen.8.gz +man/man8/ntpd.8.gz +man/man8/ntpdc.8.gz +man/man8/ntpq.8.gz +%%NTPSNMPD%%man/man8/ntpsnmpd.8.gz +man/man8/sntp.8.gz %%SSL%%sbin/ntp-keygen sbin/ntp-wait sbin/ntpd |