blob: 6d7ba278229e1365367e4961f768beb6d74d7765 (
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
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.28 2003/11/12 03:39:41 jschauma Exp $
#
DISTNAME= ntp-4.2.0
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
MAINTAINER= fredb@NetBSD.org
HOMEPAGE= http://www.ntp.org/
COMMENT= Network Time Protocol Version 4
GNU_CONFIGURE= YES
USE_PERL5= build
#USE_BUILDLINK2=YES ***FIXME: Causes lots of "missing prototype" warnings.***
CONFIGURE_ENV+= PATH_PERL="${PERL5}"
DOCDIR= ${PREFIX}/share/doc/html
EXAMPLESDIR= ${PREFIX}/share/examples
post-install:
cd ${WRKSRC} && \
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} conf html; \
${FIND} conf html -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \
${FIND} conf html -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE}; \
${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR}; \
${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
#
# Use POSIX nanosecond timers when available, but not otherwise.
#
LOWER_OPSYS_VERSUFFIX= 1
MACHINE_GNU_PLATFORM= ${LOWER_ARCH}--${LOWER_OPSYS}${LOWER_OPSYS_VERSUFFIX}
. for __wildcard__ in 1.6[N-Z]* 2*
. if ${OS_VERSION:M${__wildcard__}} != ""
LOWER_OPSYS_VERSUFFIX= 2
. endif
. endfor
#
# Don't pick up libwww's -lmd5, until buildlink can be fixed.
#
CONFIGURE_ENV+= ac_cv_lib_md5_MD5Init=no
.endif
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|