mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
57 lines
1.4 KiB
Makefile
57 lines
1.4 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.2.0b
|
|
PORTREVISION= ${YEAR}${MONTH}${DAY}
|
|
CATEGORIES= net ipv6
|
|
YEAR= 2006
|
|
MONTH= 03
|
|
DAY= 22
|
|
SNAPSHOT_DIR= snapshots/ntp-dev/${YEAR}/${MONTH}
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/${SNAPSHOT_DIR}/ \
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${SNAPSHOT_DIR}/ \
|
|
ftp://ftp.archive.de.uu.net/pub/unix/ntp/ntp4/${SNAPSHOT_DIR} \
|
|
ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/${SNAPSHOT_DIR}/
|
|
DISTNAME= ${PORTNAME}-dev-${PORTVERSION}-rc1-${YEAR}${MONTH}${DAY}
|
|
|
|
MAINTAINER= cy@FreeBSD.org
|
|
COMMENT= The Network Time Protocol Distribution
|
|
|
|
LATEST_LINK= ${PORTNAME}-dev
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= sntp.1
|
|
|
|
.if defined(ENABLE_RAWDCF)
|
|
CONFIGURE_ARGS+= --enable-RAWDCF
|
|
.endif
|
|
|
|
.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
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
|
@cd ${WRKSRC}/html && ${FIND} . -print | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|