1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/sysutils/rdate/Makefile
Johan van Selst c40dd96701 - Update rdate to the version used in OpenBSD
this contains several improvements, including IPv6 and NTP support
- Adopt port
2014-06-01 11:23:36 +00:00

25 lines
651 B
Makefile

# Created by: cracauer@cons.org "Martin Cracauer"
# $FreeBSD$
PORTNAME= rdate
PORTVERSION= 20140220
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= johans
MAINTAINER= johans@FreeBSD.org
COMMENT= Sets the clock of the local host to the time of another host
CFLAGS+= -DNO_UTIL -D__dead= -D'SA_LEN(x)=(x)->sa_len'
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= sbin/rdate man/man8/${PORTNAME}.8.gz
post-patch:
${REINPLACE_CMD} -e 's,/right,,' ${WRKSRC}/rdate.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rdate ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/rdate.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>