1998-05-05 16:05:23 -04:00
|
|
|
# New ports collection makefile for: ntp
|
|
|
|
# Date created: Di 5 Mai 1998 21:31:03 CEST
|
|
|
|
# Whom: andreas
|
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1998-05-05 16:05:23 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= ntp
|
2001-12-29 23:48:07 -05:00
|
|
|
PORTVERSION= 4.1.72
|
1998-05-05 16:05:23 -04:00
|
|
|
CATEGORIES= net
|
2001-04-15 09:57:26 -04:00
|
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
2001-07-07 15:03:41 -04:00
|
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
|
2001-07-07 11:30:17 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
|
1998-05-05 16:05:23 -04:00
|
|
|
|
2001-12-29 23:48:07 -05:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
1998-05-05 16:05:23 -04:00
|
|
|
|
1999-06-26 02:54:17 -04:00
|
|
|
# ntp's configure script created by autoconf 2.14.1 doesn't work
|
2000-03-31 23:28:04 -05:00
|
|
|
# if GNU_CONFIGURE is defined
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
1998-05-05 16:05:23 -04:00
|
|
|
|
2001-12-29 23:48:07 -05:00
|
|
|
.if defined(ENABLE_RAWDCF)
|
|
|
|
CONFIGURE_ARGS+= --enable-RAWDCF
|
|
|
|
.endif
|
|
|
|
|
1998-05-05 16:05:23 -04:00
|
|
|
post-install:
|
2000-03-31 23:28:04 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ntp
|
|
|
|
${TAR} -C ${WRKSRC}/html --exclude '.*' -cf - . | \
|
|
|
|
${TAR} -C ${PREFIX}/share/doc/ntp --unlink -xf -
|
|
|
|
find ${PREFIX}/share/doc/ntp | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
find ${PREFIX}/share/doc/ntp -type f | xargs ${CHMOD} ${SHAREMODE}
|
|
|
|
.endif
|
1998-05-05 16:05:23 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|