1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
2021-04-06 16:31:07 +02:00

32 lines
779 B
Makefile

# Created by: peter
PORTNAME= rdist
PORTVERSION= 6.1.5
PORTREVISION= 7
CATEGORIES= net
MASTER_SITES= https://fossies.org/linux/misc/old/ \
http://www.magnicomp.com/download/rdist/
MAINTAINER= cy@FreeBSD.org
COMMENT= Network file distribution/synchronisation utility
# To avoid confusion with /usr/bin/rdist, you may prefer otherwise.
RDIST_NAME?= rdist6
INSTALL_TARGET= install install.man
MAKE_ENV= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME} \
STAGEDIR=${STAGEDIR}
PLIST_SUB= RDIST_NAME=${RDIST_NAME}
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200050
RUN_DEPENDS+= rsh:net/bsdrcmds
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RDIST_NAME}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rdistd
.include <bsd.port.post.mk>