summaryrefslogtreecommitdiff
path: root/net/rdist6/Makefile
blob: 524b710a57606571b1ec37d6a1367b7eaac69624 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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

MAKE_JOBS_UNSAFE=	yes

# 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
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>