diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-06-01 11:23:36 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-06-01 11:23:36 +0000 |
commit | c40dd9670167f3e720c0c5c9ee1f00ddf1e94f5f (patch) | |
tree | e36cac97577cfab4514ecd4f7add5eaa7c466b63 /sysutils/rdate/Makefile | |
parent | c7984d1e891a19ffa4fdb85d44716cb62848fbf6 (diff) |
Notes
Diffstat (limited to 'sysutils/rdate/Makefile')
-rw-r--r-- | sysutils/rdate/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sysutils/rdate/Makefile b/sysutils/rdate/Makefile index c1f287a5bdc4..20b098d3181b 100644 --- a/sysutils/rdate/Makefile +++ b/sysutils/rdate/Makefile @@ -2,20 +2,23 @@ # $FreeBSD$ PORTNAME= rdate -PORTVERSION= 1.3 +PORTVERSION= 20140220 CATEGORIES= sysutils -MASTER_SITES= http://www.cons.org/freebsd-distfiles/ +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= johans -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@FreeBSD.org COMMENT= Sets the clock of the local host to the time of another host -PLIST_FILES= man/man8/${PORTNAME}.8.gz sbin/rdate +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|gcc|${CC}|g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's,/right,,' ${WRKSRC}/rdate.8 -post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rdate ${STAGEDIR}${PREFIX}/sbin/ - ${INSTALL_MAN} ${WRKSRC}/rdate.8 ${STAGEDIR}${PREFIX}/man/man8/ +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rdate ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/rdate.8 ${STAGEDIR}${PREFIX}/man/man8 .include <bsd.port.mk> |