freebsd-ports/net/rdist6/Makefile
Mikhail Teterin 9bf20a05dc Fix patch-ae to compare the specified rsh-equivalent with "/usr/bin/rsh" instead
of the compiled in _PATH_REMSH, which is now ssh.

This allows some users to still specify /usr/bin/rsh and (if they run as root)
have the program use rcmd(), while solving the problems like that in the

PR:	79093
Submitted by:	Alex Deiter

Bump PORTREVISION.
2005-10-28 23:07:50 +00:00

36 lines
880 B
Makefile

# New ports collection makefile for: rdist
# Date created: 19 August 1995
# Whom: peter
#
# $FreeBSD$
#
PORTNAME= rdist
PORTVERSION= 6.1.5
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.magnicomp.com/download/rdist/ \
ftp://ftp.sunet.se/pub/unix/admin/mirror-magnicomp/download/rdist/
MAINTAINER= ports@FreeBSD.org
COMMENT= A network file distribution/synchronisation utility
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400000
BROKEN= Not supported for pre-4.0 FreeBSD
.endif
# 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}
MAN1= ${RDIST_NAME}.1
MAN8= rdistd.8
PLIST_SUB= RDIST_NAME=${RDIST_NAME}
post-install:
@${STRIP_CMD} ${PREFIX}/bin/${RDIST_NAME}
@${STRIP_CMD} ${PREFIX}/bin/rdistd
.include <bsd.port.post.mk>