summaryrefslogtreecommitdiffstats
path: root/net/rdist6/Makefile
blob: 6897ad9496a63d34c9670b84919f9d3f644f5bb7 (plain)
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
34
35
36
# New ports collection makefile for:	rdist
# Date created:		19 August 1995
# Whom:			peter
#
# $FreeBSD$
#

PORTNAME=	rdist
PORTVERSION=	6.1.5
CATEGORIES=	net
MASTER_SITES=	http://www.magnicomp.com/download/rdist/ \
		ftp://ftp.rge.com/pub/admin/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>
OpenPOWER on IntegriCloud