blob: d03d6cd9023cd809bc816b35b360d6a2130b53dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.13 2021/12/08 16:06:48 adam Exp $
DISTNAME= ntpsec-1.1.9
PKGREVISION= 5
CATEGORIES= time
MASTER_SITES= http://ftp.ntpsec.org/pub/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ntpsec.org/
COMMENT= Hardened & improved NTP implementation derived from NTP Classic
LICENSE= cc-by-v4.0 AND 2-clause-bsd AND modified-bsd AND mit
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
BUILD_DEPENDS+= waf-[0-9]*:../../devel/waf
USE_TOOLS+= bison m4 pkg-config
WAF_CONFIGURE_ARGS+= --python=${PYTHONBIN}
# pkgsrc python PLIST logic expects all python-3.x extensions to use -O1,
# but I can't figure out how to pass it through waf, so disable precompiled
# python files for now ...
WAF_CONFIGURE_ARGS+= --nopyc --nopyo
WAF_CONFIGURE_ARGS+= --refclock=all
WAF_ENV+= PYTHON_CONFIG=${PYTHONCONFIG}
WAF_ENV+= BIN_A2X=${PREFIX}/bin/a2x
WAF_ENV+= BIN_XSLTPROC=${PREFIX}/bin/xsltproc
RCD_SCRIPTS= ntpd
REPLACE_PYTHON+= ntpclients/*.py
PY_PATCHPLIST= yes
.include "../../devel/waf/waf.mk"
.include "../../geography/gpsd/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_DEPMETHOD.libxslt?= build
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|