freebsd-ports/net/ntp-devel/Makefile
Cy Schubert 318291c28d 1. Update to 4.1.72.
2.  Change MAINTAINER from my work email address to my FreeBSD.org
    email address.
3.  Patch to optionally enable RAWDCF (DCF77 raw time code).
    Obtained from:  Harlan Stenn <stenn@whimsy.udel.edu>

Reviewed by:  nectar
2001-12-30 04:48:07 +00:00

36 lines
913 B
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.72
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= cy@FreeBSD.org
# 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 --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
.include <bsd.port.mk>