freebsd-ports/net/ntp/Makefile
Edwin Groothuis ca09b1019c [patch][non-maintainer] remove dead master site from net/ntp
Per Fenner's logs, ftp://uiarchive.uiuc.edu went away around
        July 22nd of this year.  It should be removed from this port.

PR:		ports/57561
Submitted by:	Mark Linimon <linimon@lonesome.com>
2003-10-04 07:02:17 +00:00

38 lines
1 KiB
Makefile

# New ports collection makefile for: ntp
# Date created: Di 5 Mai 1998 21:31:03 CEST
# Whom: andreas
#
# $FreeBSD$
#
PORTNAME= ntp
PORTVERSION= 4.1.1c.r3
CATEGORIES= net
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/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= cy@FreeBSD.org
COMMENT= The Network Time Protocol Distribution
# ntp's configure script created by autoconf 2.14.1 doesn't work
# if GNU_CONFIGURE is defined
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
.if defined(ENABLE_RAWDCF)
CONFIGURE_ARGS+= --enable-RAWDCF
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ntp
${TAR} -C ${WRKSRC}/html -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
.include <bsd.port.mk>