1998-05-05 22:05:23 +02:00
|
|
|
# New ports collection makefile for: ntp
|
|
|
|
# Date created: Di 5 Mai 1998 21:31:03 CEST
|
|
|
|
# Whom: andreas
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-05-05 22:05:23 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= ntp
|
2008-01-13 05:17:07 +01:00
|
|
|
PORTVERSION= 4.2.4p4
|
2004-08-30 16:00:15 +02:00
|
|
|
CATEGORIES= net ipv6
|
2008-01-13 05:17:07 +01:00
|
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
|
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
|
|
|
|
ftp://ftp.archive.de.uu.net/pub/unix/ntp/ntp4/ \
|
|
|
|
ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/
|
2001-07-07 17:30:17 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
|
1998-05-05 22:05:23 +02:00
|
|
|
|
2001-12-30 05:48:07 +01:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Network Time Protocol Distribution
|
1998-05-05 22:05:23 +02:00
|
|
|
|
2004-02-07 05:14:39 +01:00
|
|
|
LATEST_LINK= ${PORTNAME}
|
2004-08-30 16:00:15 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2006-10-07 05:48:35 +02:00
|
|
|
USE_AUTOTOOLS= automake:19
|
1998-05-05 22:05:23 +02:00
|
|
|
|
2001-12-30 05:48:07 +01:00
|
|
|
.if defined(ENABLE_RAWDCF)
|
|
|
|
CONFIGURE_ARGS+= --enable-RAWDCF
|
|
|
|
.endif
|
|
|
|
|
2004-08-30 16:00:15 +02:00
|
|
|
.if defined(WITHOUT_SSL)
|
|
|
|
CONFIGURE_ARGS+= --without-crypto
|
|
|
|
PLIST_SUB+= SSL="@comment "
|
|
|
|
.else
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \
|
|
|
|
--with-openssl-libdir=${OPENSSLLIB}
|
|
|
|
PLIST_SUB+= SSL=""
|
|
|
|
.endif
|
2006-10-05 21:07:16 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2004-08-30 16:00:15 +02:00
|
|
|
|
2008-01-13 05:17:07 +01:00
|
|
|
MAN1= sntp.1 \
|
|
|
|
ntpd.1 \
|
|
|
|
ntpdsim.1 \
|
|
|
|
ntpdc.1 \
|
|
|
|
ntpq.1 \
|
|
|
|
ntp-keygen.1 \
|
2006-06-24 16:33:59 +02:00
|
|
|
|
2006-10-06 20:30:49 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-05-05 22:05:23 +02:00
|
|
|
post-install:
|
2004-08-30 16:00:15 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR}
|
2000-04-01 06:28:04 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-30 16:00:15 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
@cd ${WRKSRC}/html && ${FIND} . -print | \
|
|
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR}
|
2000-04-01 06:28:04 +02:00
|
|
|
.endif
|
1998-05-05 22:05:23 +02:00
|
|
|
|
2006-10-06 20:30:49 +02:00
|
|
|
.include <bsd.port.post.mk>
|