1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/net/ntpsec/Makefile
Rene Ladan 620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00

37 lines
1.0 KiB
Makefile

PORTNAME= ntpsec
DISTVERSIONPREFIX= NTPsec_
DISTVERSION= 1_2_0
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
COMMENT= Network Time Protocol suite, refactored
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libdns_sd.so:net/mDNSResponder
USES= cpe bison gettext-runtime pkgconfig python shebangfix ssl waf
USE_GITHUB= yes
USE_LDCONFIG= ${PREFIX}/lib/ntp
SHEBANG_FILES= ${WRKSRC}/ntpclients/ntp*.py
python_OLD_CMD= @PYSHEBANG@
CONFLICTS= ntp ntp-devel openntpd
MAKE_ENV= NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPsec/ntpsec/issues/599
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_ENABLE= doc
DOCS_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor # alternatively ntpsec can use asciidoc:textproc/asciidoc but it prefers asciidoctor
PORTSCOUT= limit:^\d+\. # prevent alpha-numeric strings
post-install: # autoplist: plist varies depending on the python version
@cd ${STAGEDIR}${PREFIX} && \
${FIND} * -type f -or -type l | ${SED} -e 's|^share/man/.*|&.gz|' >> ${TMPPLIST}
.include <bsd.port.mk>